Browse Source
Merge pull request #7179 from Budibase/bug/sev2/airtable-update-add-table-field
Airtable update: add table field
pull/7212/head
melohagan
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
6 additions and
1 deletions
-
packages/server/src/integrations/airtable.ts
-
packages/server/src/integrations/tests/airtable.spec.js
|
|
|
@ -64,6 +64,11 @@ module AirtableModule { |
|
|
|
customisable: true, |
|
|
|
fields: { |
|
|
|
id: { |
|
|
|
display: "Record ID", |
|
|
|
type: DatasourceFieldTypes.STRING, |
|
|
|
required: true, |
|
|
|
}, |
|
|
|
table: { |
|
|
|
type: DatasourceFieldTypes.STRING, |
|
|
|
required: true, |
|
|
|
}, |
|
|
|
|
|
|
|
@ -48,7 +48,7 @@ describe("Airtable Integration", () => { |
|
|
|
|
|
|
|
it("calls the update method with the correct params", async () => { |
|
|
|
const response = await config.integration.update({ |
|
|
|
table: "test", |
|
|
|
table: "table", |
|
|
|
id: "123", |
|
|
|
json: { |
|
|
|
name: "test" |
|
|
|
|