Fixing issue with row deletion not returning the _id of the row which was deleted in googlesheets.
This commit is contained in:
parent
108def6b88
commit
213315e14f
|
@ -535,7 +535,7 @@ class GoogleSheetsIntegration implements DatasourcePlus {
|
||||||
const row = rows[query.rowIndex]
|
const row = rows[query.rowIndex]
|
||||||
if (row) {
|
if (row) {
|
||||||
await row.delete()
|
await row.delete()
|
||||||
return [{ deleted: query.rowIndex }]
|
return [{ deleted: query.rowIndex, [GOOGLE_SHEETS_PRIMARY_KEY]: query.rowIndex }]
|
||||||
} else {
|
} else {
|
||||||
throw new Error("Row does not exist.")
|
throw new Error("Row does not exist.")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue