1
0
Fork 0
mirror of synced 2024-10-05 20:44:47 +13:00

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

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.")
}