back again...

bit of validation, some fixes, some auth corrections

scrapped graph db stuff

some misc. stuff, check the diff if you want bruh
This commit is contained in:
2024-07-24 13:38:07 +05:30
parent 2225f5db49
commit 5803c997b2
13 changed files with 370 additions and 1720 deletions

View File

@@ -26,8 +26,9 @@ const getUserPlaylists = async (req, res) => {
}
);
if (response.status === 401)
if (response.status === 401) {
return res.status(401).send(response.data);
}
/** @type {typedefs.SimplifiedPlaylist[]} */
playlists.items = response.data.items.map((playlist) => {