This commit is contained in:
mike12345567 2021-07-03 11:16:29 +01:00
parent 11f6abee0a
commit 3849d2a968
2 changed files with 9 additions and 3 deletions

View File

@ -5,7 +5,12 @@ import {
PaginationJson,
RelationshipsJson,
} from "../../../definitions/datasource"
import {Row, Table, FieldSchema, Datasource} from "../../../definitions/common"
import {
Row,
Table,
FieldSchema,
Datasource,
} from "../../../definitions/common"
import {
breakRowIdField,
generateRowIdField,

View File

@ -3,7 +3,6 @@ const {
SortDirection,
FieldTypes,
} = require("../../../constants")
const { getAllExternalTables } = require("../table/utils")
const {
breakExternalTableId,
breakRowIdField,
@ -12,7 +11,9 @@ const ExternalRequest = require("./ExternalRequest")
const CouchDB = require("../../../db")
async function handleRequest(appId, operation, tableId, opts = {}) {
return new ExternalRequest(appId, operation, tableId, opts.datasource).run(opts)
return new ExternalRequest(appId, operation, tableId, opts.datasource).run(
opts
)
}
exports.patch = async ctx => {