From e1af6af9c8024493e07c081fe9b177aea2a75158 Mon Sep 17 00:00:00 2001 From: Baptiste Arnaud Date: Wed, 4 Jan 2023 11:14:36 +0100 Subject: [PATCH] :bug: (sheets) Make sure sheet IDs are string --- .../api/integrations/google-sheets/spreadsheets/[id]/sheets.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/builder/src/pages/api/integrations/google-sheets/spreadsheets/[id]/sheets.ts b/apps/builder/src/pages/api/integrations/google-sheets/spreadsheets/[id]/sheets.ts index 868cacef7e..a202b41551 100644 --- a/apps/builder/src/pages/api/integrations/google-sheets/spreadsheets/[id]/sheets.ts +++ b/apps/builder/src/pages/api/integrations/google-sheets/spreadsheets/[id]/sheets.ts @@ -34,7 +34,7 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) => { return } return { - id: sheet.sheetId, + id: sheet.sheetId.toString(), name: sheet.title, columns: sheet.headerValues, }