gui: work in progress

This commit is contained in:
Carl-Gerhard Lindesvärd
2023-10-17 21:47:37 +02:00
parent b9fe6127ff
commit 206ae54dea
53 changed files with 2632 additions and 88 deletions

View File

@@ -1,5 +1,4 @@
import { PrismaAdapter } from "@next-auth/prisma-adapter";
import { NextApiRequest, type GetServerSidePropsContext } from "next";
import { type NextApiRequest, type GetServerSidePropsContext } from "next";
import {
getServerSession,
type DefaultSession,
@@ -39,7 +38,7 @@ declare module "next-auth" {
*/
export const authOptions: NextAuthOptions = {
callbacks: {
session: ({ session, user, token }) => ({
session: ({ session, token }) => ({
...session,
user: {
...session.user,