Skip to content

Commit

Permalink
build(deps): bump cookies-next from 4.3.0 to 5.0.2 (#1841)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Deepak Prabhakara <[email protected]>
  • Loading branch information
dependabot[bot] and deepakprabhakara authored Nov 12, 2024
1 parent 55db9f9 commit 46a5d72
Show file tree
Hide file tree
Showing 6 changed files with 677 additions and 370 deletions.
2 changes: 1 addition & 1 deletion lib/nextAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ export const getAuthOptions = (
jwt: {
encode: async (params) => {
if (isCredentialsProviderCallbackWithDbSession) {
return getCookie(sessionTokenCookieName, { req, res }) || '';
return (await getCookie(sessionTokenCookieName, { req, res })) || '';
}

return encode(params);
Expand Down
1 change: 0 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ const { withSentryConfig } = require('@sentry/nextjs');

/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: { esmExternals: false, webpackBuildWorker: true },
reactStrictMode: true,
images: {
remotePatterns: [
Expand Down
Loading

0 comments on commit 46a5d72

Please sign in to comment.