mirror of
https://github.com/20kaushik02/spotify-manager.git
synced 2026-01-25 06:04:05 +00:00
ocd formatting, changed user object, retrieve user ID
This commit is contained in:
@@ -8,7 +8,7 @@ const typedefs = require("../typedefs");
|
||||
*/
|
||||
const __controller_func = async (req, res) => {
|
||||
try {
|
||||
|
||||
|
||||
} catch (error) {
|
||||
logger.error('__controller_func', { error });
|
||||
return res.sendStatus(500);
|
||||
@@ -17,4 +17,4 @@ const __controller_func = async (req, res) => {
|
||||
|
||||
module.exports = {
|
||||
__controller_func
|
||||
};
|
||||
};
|
||||
|
||||
@@ -17,6 +17,5 @@ const __validator_func = async (req, res, next) => {
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
__validator_func,
|
||||
__validator_func
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user