add category banner image
This commit is contained in:
parent
c213e86993
commit
7581185aeb
@ -11,7 +11,7 @@ const sendToken = (user, statusCode, res) => {
|
|||||||
httpOnly: true,
|
httpOnly: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
res.status(statusCode).cookie("token", token, options).json({
|
res.status(statusCode).cookie("token", token).json({
|
||||||
// res.status(statusCode).json({
|
// res.status(statusCode).json({
|
||||||
|
|
||||||
success: true,
|
success: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user