Merge pull request #7179 from Budibase/bug/sev2/airtable-update-add-table-field
Airtable update: add table field
This commit is contained in:
commit
b43e8a0130
|
@ -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,
|
||||||
},
|
},
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue