Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

remove await and add void

Maidul Islamac0780266b72
diff --git a/backend/src/server/routes/v3/signup-router.ts b/backend/src/server/routes/v3/signup-router.ts
index 0640685078..2a2f50f43c 100644
--- a/backend/src/server/routes/v3/signup-router.ts
+++ b/backend/src/server/routes/v3/signup-router.ts
@@ -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",