diff --git a/server/src/routes/integration.ts b/server/src/routes/integration.ts index 16a5ae50..cc2c39df 100644 --- a/server/src/routes/integration.ts +++ b/server/src/routes/integration.ts @@ -11,7 +11,7 @@ router.post('/upload-credentials', async (req, res) => { return res.status(400).json({ message: 'Credentials, Spreadsheet ID, and Range are required.' }); } // *** TEMPORARILY WE STORE CREDENTIALS HERE *** - const integrations = loadIntegrations(); + let integrations = loadIntegrations(); integrations = { fileName, spreadsheetId, range, credentials }; saveIntegrations(integrations); logger.log('info', 'Service account credentials saved successfully.');