From 7581185aeb9e2665e2fddfd1bbd170aa8fabeb59 Mon Sep 17 00:00:00 2001 From: pawan-dot <71133473+pawan-dot@users.noreply.github.com> Date: Thu, 27 Oct 2022 14:56:35 +0530 Subject: [PATCH] add category banner image --- Utils/jwtToken.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utils/jwtToken.js b/Utils/jwtToken.js index 240ae46..e2fd075 100644 --- a/Utils/jwtToken.js +++ b/Utils/jwtToken.js @@ -11,7 +11,7 @@ const sendToken = (user, statusCode, res) => { httpOnly: true, }; - res.status(statusCode).cookie("token", token, options).json({ + res.status(statusCode).cookie("token", token).json({ // res.status(statusCode).json({ success: true,