diff --git a/apps/link/app/api/auth/[...nextauth]/route.ts b/apps/link/app/api/auth/[...nextauth]/route.ts index 5794086..e866335 100644 --- a/apps/link/app/api/auth/[...nextauth]/route.ts +++ b/apps/link/app/api/auth/[...nextauth]/route.ts @@ -27,8 +27,7 @@ const fetchUser = async (email: string) => { console.log({ users }); const user = users?.[0]; - // temp - return { role_ids: [1] }; + return user; }; const getUserRoles = async (email: string) => { diff --git a/apps/metamigo-frontend/package.json b/apps/metamigo-frontend/package.json index 71fc0b1..ddde1e9 100644 --- a/apps/metamigo-frontend/package.json +++ b/apps/metamigo-frontend/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "dev": "next dev", - "build": "next build", + "build-xxx": "next build", "start": "next start", "lint": "next lint" }, diff --git a/docker/postgresql/Dockerfile b/docker/postgresql/Dockerfile index beaaa6e..d5ef638 100644 --- a/docker/postgresql/Dockerfile +++ b/docker/postgresql/Dockerfile @@ -1 +1 @@ -FROM postgres:15-bookworm +FROM postgres:16-bookworm