Showing 142 of 142 total issues
Avoid too many return
statements within this function. Open
Open
return util.send(res);
Avoid too many return
statements within this function. Open
Open
return res.status(404).send({
status: 404,
message: errors[0].message
});
Avoid too many return
statements within this function. Open
Open
return util.send(res);
Avoid too many return
statements within this function. Open
Open
return util.send(res);
Avoid too many return
statements within this function. Open
Open
return util.send(res);
Avoid too many return
statements within this function. Open
Open
return res.send({
message: error.message
});
Avoid too many return
statements within this function. Open
Open
return res.status(404).send({
status: 404,
message: error
});
Avoid too many return
statements within this function. Open
Open
return util.send(res);
Avoid too many return
statements within this function. Open
Open
return util.send(res);
Avoid too many return
statements within this function. Open
Open
return res.status(404).send({
status: 404,
message: error.message
});
Avoid too many return
statements within this function. Open
Open
return util.send(res);
Avoid too many return
statements within this function. Open
Open
return res.status(200).send({
status: 200,
message: 'Password reset successfully'
});
Avoid too many return
statements within this function. Open
Open
return util.send(res);
Avoid too many return
statements within this function. Open
Open
return res.status(500).send({
status: 500,
message: error.message
});
Avoid too many return
statements within this function. Open
Open
return res.status(400).send({
status: 400,
message: 'Failed to fetch user'
});
Avoid too many return
statements within this function. Open
Open
return util.send(res);
Avoid too many return
statements within this function. Open
Open
return util.send(res);
Avoid too many return
statements within this function. Open
Open
return util.send(res);
Avoid too many return
statements within this function. Open
Open
return util.send(res);
Avoid too many return
statements within this function. Open
Open
return util.send(res);