Skip to content

Commit

Permalink
remove await and add void
Browse files Browse the repository at this point in the history
  • Loading branch information
maidul98 committed Feb 3, 2024
1 parent 7a253dd commit ac07802
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/src/server/routes/v3/signup-router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit ac07802

Please sign in to comment.