swoop-common 1.0.37 → 1.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -44,7 +44,6 @@ const buildTemplateTree = (templates) => {
|
|
|
44
44
|
export const resolveTemplateHierarchy = (templateId) => __awaiter(void 0, void 0, void 0, function* () {
|
|
45
45
|
// First fetch all templates
|
|
46
46
|
const allTemplates = yield services.CoreService.templateList(1);
|
|
47
|
-
console.log(JSON.stringify(allTemplates, null, 2));
|
|
48
47
|
// Find the initial template
|
|
49
48
|
const initialTemplate = allTemplates.data.find((t) => t.id === templateId);
|
|
50
49
|
if (!initialTemplate) {
|