Rename to recordID
This commit is contained in:
parent
3323388b03
commit
860880baf2
1 changed files with 4 additions and 4 deletions
|
@ -63,7 +63,7 @@ module AirtableModule {
|
||||||
type: QueryTypes.FIELDS,
|
type: QueryTypes.FIELDS,
|
||||||
customisable: true,
|
customisable: true,
|
||||||
fields: {
|
fields: {
|
||||||
recordId: {
|
recordID: {
|
||||||
type: DatasourceFieldTypes.STRING,
|
type: DatasourceFieldTypes.STRING,
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
|
@ -116,13 +116,13 @@ module AirtableModule {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async update(query: { table: any; recordId: any; json: any }) {
|
async update(query: { table: any; recordID: any; json: any }) {
|
||||||
const { table, recordId, json } = query
|
const { table, recordID, json } = query
|
||||||
|
|
||||||
try {
|
try {
|
||||||
return await this.client(table).update([
|
return await this.client(table).update([
|
||||||
{
|
{
|
||||||
id: recordId,
|
id: recordID,
|
||||||
fields: json,
|
fields: json,
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in a new issue