This commit is contained in:
Mel O'Hagan 2022-09-05 16:58:35 +01:00
parent 6a60aec78b
commit 0f46e02e73
1 changed files with 2 additions and 1 deletions

View File

@ -379,7 +379,8 @@ module GoogleSheetsModule {
const rows = await sheet.getRows() const rows = await sheet.getRows()
const row = rows[query.rowIndex] const row = rows[query.rowIndex]
if (row) { if (row) {
const updateValues = typeof query.row === "string" ? JSON.parse(query.row) : query.row const updateValues =
typeof query.row === "string" ? JSON.parse(query.row) : query.row
for (let key in updateValues) { for (let key in updateValues) {
row[key] = updateValues[key] row[key] = updateValues[key]
} }