From a3818c92f1c94296a2847bccb511cb6e3e6037e7 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Wed, 18 Sep 2024 18:28:00 +0530 Subject: [PATCH] chore: lint --- server/src/routes/integration.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/src/routes/integration.ts b/server/src/routes/integration.ts index ee77f541..8798bca9 100644 --- a/server/src/routes/integration.ts +++ b/server/src/routes/integration.ts @@ -15,7 +15,7 @@ router.post('/upload-credentials', async (req, res) => { // Todo: Store the credentials in a secure place (for test, we store them locally) const storedCredentialsPath = path.join(__dirname, 'service_account_credentials.json'); - + try { fs.writeFileSync(storedCredentialsPath, JSON.stringify(credentials)); logger.log('info', 'Service account credentials saved successfully.'); @@ -51,7 +51,6 @@ router.post('/upload-credentials', async (req, res) => { const sheets = google.sheets({ version: 'v4', auth: authToken }); - // Data to be written to the sheet const values = [ ['Scraped Data 1', 'More Data', 'IDKKKKKKKKK'], ];