chore: lint

This commit is contained in:
karishmas6
2024-09-15 19:18:41 +05:30
parent 582f37bf34
commit 70136f9ca9

View File

@@ -35,7 +35,7 @@ router.get('/auth/google/callback', async (req, res) => {
console.error('Error during authentication:', error);
res.status(500).send('Authentication failed');
}
});
});
router.get('/sheets', async (req, res) => {
try {
@@ -49,7 +49,7 @@ router.get('/sheets', async (req, res) => {
console.error('Error listing sheets:', error);
res.status(500).send('Failed to list sheets');
}
});
});
router.get('/sheets/:sheetId', async (req, res) => {
try {
@@ -63,7 +63,7 @@ router.get('/sheets/:sheetId', async (req, res) => {
console.error('Error reading sheet:', error);
res.status(500).send('Failed to read sheet');
}
});
});
router.post('/sheets/:sheetId', async (req, res) => {
try {
@@ -81,4 +81,4 @@ router.post('/sheets/:sheetId', async (req, res) => {
console.error('Error writing to sheet:', error);
res.status(500).send('Failed to write to sheet');
}
});
});