Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
peterphanouvong committed Jul 19, 2024
1 parent 4e5b8e9 commit af87173
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils/cookies.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const generateCookieHeader = (request, cookies) => {
});
const oldCookiesKeys = Object.keys(oldCookies.getAll());
const newCookiesKeys = Object.keys(cookies.getAll()).filter((cookie) =>
KINDE_COOKIES.includes(cookie)
KINDE_COOKIES.includes(cookie),
);

const cookiesToBeDeleted = oldCookiesKeys
Expand All @@ -81,7 +81,7 @@ export const generateCookieHeader = (request, cookies) => {
sameSite: "Lax",
httpOnly: true,
secure: process.env.NODE_ENV === "production",
})
}),
);
});

Expand All @@ -94,7 +94,7 @@ export const generateCookieHeader = (request, cookies) => {
sameSite: "Lax",
httpOnly: true,
secure: process.env.NODE_ENV === "production",
})
}),
);
});

Expand Down

0 comments on commit af87173

Please sign in to comment.