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
parent
commit
b43e8a0130
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      packages/server/src/integrations/airtable.ts
  2. 2
      packages/server/src/integrations/tests/airtable.spec.js

5
packages/server/src/integrations/airtable.ts

@ -64,6 +64,11 @@ module AirtableModule {
customisable: true,
fields: {
id: {
display: "Record ID",
type: DatasourceFieldTypes.STRING,
required: true,
},
table: {
type: DatasourceFieldTypes.STRING,
required: true,
},

2
packages/server/src/integrations/tests/airtable.spec.js

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

Loading…
Cancel
Save