Parse incoming row as JSON

This commit is contained in:
Mel O'Hagan 2022-09-05 16:55:38 +01:00
parent be6ad9a809
commit 67f123d60f
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ 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 = query.row const updateValues = JSON.parse(query.row)
for (let key in updateValues) { for (let key in updateValues) {
row[key] = updateValues[key] row[key] = updateValues[key]
} }