Fix lint warnings.

This commit is contained in:
Sam Rose 2023-10-12 17:59:02 +01:00
parent f4fa542e86
commit 6af05500e9
2 changed files with 6 additions and 2 deletions

View File

@ -17,7 +17,11 @@ import {
Schema,
} from "@budibase/types"
import { OAuth2Client } from "google-auth-library"
import { buildExternalTableId, checkExternalTables, finaliseExternalTables } from "./utils"
import {
buildExternalTableId,
checkExternalTables,
finaliseExternalTables,
} from "./utils"
import { GoogleSpreadsheet, GoogleSpreadsheetRow } from "google-spreadsheet"
import fetch from "node-fetch"
import { cache, configs, context, HTTPError } from "@budibase/backend-core"

View File

@ -328,7 +328,7 @@ class MySQLIntegration extends Sql implements DatasourcePlus {
} finally {
await this.disconnect()
}
let externalTables = finaliseExternalTables(tables, entities)
let errors = checkExternalTables(tables)
return { tables: externalTables, errors }