remove await and add void

This commit is contained in:
Maidul Islam
2024-02-03 12:53:42 -05:00
parent 7a253ddcc7
commit ac0780266b
@@ -108,7 +108,7 @@ export const registerSignupRouter = async (server: FastifyZodProvider) => {
} }
}); });
await res.setCookie("jid", refreshToken, { void res.setCookie("jid", refreshToken, {
httpOnly: true, httpOnly: true,
path: "/", path: "/",
sameSite: "strict", sameSite: "strict",
@@ -159,7 +159,7 @@ export const registerSignupRouter = async (server: FastifyZodProvider) => {
userAgent userAgent
}); });
await res.setCookie("jid", refreshToken, { void res.setCookie("jid", refreshToken, {
httpOnly: true, httpOnly: true,
path: "/", path: "/",
sameSite: "strict", sameSite: "strict",