diff --git a/packages/worker/src/api/controllers/global/self.ts b/packages/worker/src/api/controllers/global/self.ts index 7f2a139106..f8488f526b 100644 --- a/packages/worker/src/api/controllers/global/self.ts +++ b/packages/worker/src/api/controllers/global/self.ts @@ -10,7 +10,6 @@ import { import env from "../../../environment" import { groups } from "@budibase/pro" import { - Ctx, DevInfo, FetchAPIKeyResponse, GenerateAPIKeyRequest, diff --git a/packages/worker/src/api/controllers/global/templates.ts b/packages/worker/src/api/controllers/global/templates.ts index e175773723..d717f47515 100644 --- a/packages/worker/src/api/controllers/global/templates.ts +++ b/packages/worker/src/api/controllers/global/templates.ts @@ -14,8 +14,8 @@ import { FindGlobalTemplateResponse, SaveGlobalTemplateRequest, SaveGlobalTemplateResponse, - TemplateBinding, - TemplateDefinition, + GlobalTemplateBinding, + GlobalTemplateDefinition, UserCtx, } from "@budibase/types" @@ -41,8 +41,8 @@ export async function save( export async function definitions( ctx: UserCtx ) { - const bindings: Record = {} - const info: Record = {} + const bindings: Record = {} + const info: Record = {} for (let template of TemplateMetadata.email) { bindings[template.purpose] = template.bindings info[template.purpose] = {