chore: lint
This commit is contained in:
@@ -35,7 +35,7 @@ router.get('/auth/google/callback', async (req, res) => {
|
|||||||
console.error('Error during authentication:', error);
|
console.error('Error during authentication:', error);
|
||||||
res.status(500).send('Authentication failed');
|
res.status(500).send('Authentication failed');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
router.get('/sheets', async (req, res) => {
|
router.get('/sheets', async (req, res) => {
|
||||||
try {
|
try {
|
||||||
@@ -49,7 +49,7 @@ router.get('/sheets', async (req, res) => {
|
|||||||
console.error('Error listing sheets:', error);
|
console.error('Error listing sheets:', error);
|
||||||
res.status(500).send('Failed to list sheets');
|
res.status(500).send('Failed to list sheets');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
router.get('/sheets/:sheetId', async (req, res) => {
|
router.get('/sheets/:sheetId', async (req, res) => {
|
||||||
try {
|
try {
|
||||||
@@ -63,7 +63,7 @@ router.get('/sheets/:sheetId', async (req, res) => {
|
|||||||
console.error('Error reading sheet:', error);
|
console.error('Error reading sheet:', error);
|
||||||
res.status(500).send('Failed to read sheet');
|
res.status(500).send('Failed to read sheet');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
router.post('/sheets/:sheetId', async (req, res) => {
|
router.post('/sheets/:sheetId', async (req, res) => {
|
||||||
try {
|
try {
|
||||||
@@ -81,4 +81,4 @@ router.post('/sheets/:sheetId', async (req, res) => {
|
|||||||
console.error('Error writing to sheet:', error);
|
console.error('Error writing to sheet:', error);
|
||||||
res.status(500).send('Failed to write to sheet');
|
res.status(500).send('Failed to write to sheet');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
Reference in New Issue
Block a user