From 2f70dc9e8a8ae42c7deef7ee4ff76a82f985c7d3 Mon Sep 17 00:00:00 2001 From: Darren Clarke Date: Wed, 6 Mar 2024 11:08:48 +0100 Subject: [PATCH] Remove metamigo-frontend from build --- apps/link/app/api/auth/[...nextauth]/route.ts | 3 +-- apps/metamigo-frontend/package.json | 2 +- docker/postgresql/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) 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