From 6ed5894441ff370cbc6ae0bf893b895b1fdb6132 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 20 Jun 2023 11:14:23 +0100 Subject: [PATCH] Type --- packages/server/src/api/controllers/datasource.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/server/src/api/controllers/datasource.ts b/packages/server/src/api/controllers/datasource.ts index 1d7643dd7b..86669845e6 100644 --- a/packages/server/src/api/controllers/datasource.ts +++ b/packages/server/src/api/controllers/datasource.ts @@ -26,7 +26,6 @@ import { IntegrationBase, DatasourcePlus, SourceName, - Ctx, } from "@budibase/types" import sdk from "../../sdk" import { builderSocket } from "../../websockets" @@ -443,7 +442,7 @@ export async function query(ctx: UserCtx) { } } -export async function getExternalSchema(ctx: Ctx) { +export async function getExternalSchema(ctx: UserCtx) { const { datasource } = ctx.request.body const enrichedDatasource = await getAndMergeDatasource(datasource) const connector = await getConnector(enrichedDatasource)