Merge pull request #7179 from Budibase/bug/sev2/airtable-update-add-table-field

Airtable update: add table field
This commit is contained in:
melohagan 2022-08-10 14:21:42 +01:00 committed by GitHub
commit 180a009220
2 changed files with 6 additions and 1 deletions

View File

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

View File

@ -48,7 +48,7 @@ describe("Airtable Integration", () => {
it("calls the update method with the correct params", async () => { it("calls the update method with the correct params", async () => {
const response = await config.integration.update({ const response = await config.integration.update({
table: "test", table: "table",
id: "123", id: "123",
json: { json: {
name: "test" name: "test"