From 8417c2f3e8815a5b2e10bedb6512e41117a7b39c Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Tue, 17 Sep 2024 20:58:09 +0530 Subject: [PATCH] fix: ts for spreadsheets.values.appen --- server/src/routes/integration.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/routes/integration.ts b/server/src/routes/integration.ts index 9febe002..91150b3d 100644 --- a/server/src/routes/integration.ts +++ b/server/src/routes/integration.ts @@ -44,7 +44,7 @@ router.post('/write-to-sheet', async (req, res) => { spreadsheetId, range, valueInputOption: 'USER_ENTERED', - resource: { + requestBody: { values: values, // Expecting an array of arrays, like [['data1', 'data2'], ['data3', 'data4']] }, });