fix(deps): update nextjs monorepo to v15 (major) (#1844)
This commit is contained in:
@@ -54,7 +54,7 @@ export const createSignInEventHandler = (db: Database): Exclude<NextAuthConfig["
|
||||
logger.info(`User '${dbUser.name}' logged in at ${dayjs().format()}`);
|
||||
|
||||
// We use a cookie as localStorage is not shared with server (otherwise flickering would occur)
|
||||
cookies().set(colorSchemeCookieKey, dbUser.colorScheme, {
|
||||
(await cookies()).set(colorSchemeCookieKey, dbUser.colorScheme, {
|
||||
path: "/",
|
||||
expires: dayjs().add(1, "year").toDate(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user