mirror of
https://github.com/20kaushik02/spotify-manager.git
synced 2026-01-25 14:14:06 +00:00
added the link pruning functionality
lot to correct and improve tho
This commit is contained in:
@@ -82,6 +82,10 @@ const callback = async (req, res) => {
|
||||
}
|
||||
}
|
||||
);
|
||||
if (userResponse.status >= 400 && userResponse.status < 500)
|
||||
return res.status(userResponse.status).send(userResponse.data);
|
||||
else if (userResponse.status >= 500)
|
||||
return res.sendStatus(userResponse.status);
|
||||
|
||||
/** @type {typedefs.User} */
|
||||
req.session.user = {
|
||||
|
||||
Reference in New Issue
Block a user