chore: lint

This commit is contained in:
karishmas6
2024-09-18 18:28:00 +05:30
parent b99e6d2b15
commit a3818c92f1

View File

@@ -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'],
];