remove await and add void

This commit is contained in:
Maidul Islam
2024-02-03 12:53:42 -05:00
parent 7a253ddcc7
commit ac0780266b

View File

@@ -108,7 +108,7 @@ export const registerSignupRouter = async (server: FastifyZodProvider) => {
}
});
await res.setCookie("jid", refreshToken, {
void res.setCookie("jid", refreshToken, {
httpOnly: true,
path: "/",
sameSite: "strict",
@@ -159,7 +159,7 @@ export const registerSignupRouter = async (server: FastifyZodProvider) => {
userAgent
});
await res.setCookie("jid", refreshToken, {
void res.setCookie("jid", refreshToken, {
httpOnly: true,
path: "/",
sameSite: "strict",