feat: remove fileName for integration json

This commit is contained in:
karishmas6
2024-09-19 18:30:27 +05:30
parent 99a30e17a8
commit 6d17d60b72

View File

@@ -12,7 +12,7 @@ router.post('/upload-credentials', async (req, res) => {
}
// *** TEMPORARILY WE STORE CREDENTIALS HERE ***
const integrations = loadIntegrations();
integrations[fileName] = { fileName, spreadsheetId, range, credentials };
integrations = { fileName, spreadsheetId, range, credentials };
saveIntegrations(integrations);
logger.log('info', 'Service account credentials saved successfully.');
return res.send(true);