1
0
Fork 0
mirror of synced 2024-07-09 00:06:05 +12:00
This commit is contained in:
Adria Navarro 2023-06-20 11:14:23 +01:00
parent 718fe1efc6
commit 6ed5894441

View file

@ -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)