Fixing issue with row deletion not returning the _id of the row which was deleted in googlesheets.

This commit is contained in:
mike12345567 2023-06-02 18:03:43 +01:00
parent 108def6b88
commit 213315e14f
1 changed files with 1 additions and 1 deletions

View File

@ -535,7 +535,7 @@ class GoogleSheetsIntegration implements DatasourcePlus {
const row = rows[query.rowIndex]
if (row) {
await row.delete()
return [{ deleted: query.rowIndex }]
return [{ deleted: query.rowIndex, [GOOGLE_SHEETS_PRIMARY_KEY]: query.rowIndex }]
} else {
throw new Error("Row does not exist.")
}