refactor: one-at-a-time spotify api calls, some other modifications and logging reordering

This commit is contained in:
2024-08-05 23:59:09 +05:30
parent 4035e4f070
commit 379ffa22ac
7 changed files with 140 additions and 99 deletions

View File

@@ -10,8 +10,9 @@ const __controller_func = async (req, res) => {
try {
} catch (error) {
res.sendStatus(500);
logger.error('__controller_func', { error });
return res.sendStatus(500);
return;
}
}