fix: checkout

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-10-18 10:28:56 +02:00
parent 4b831204b7
commit 21fc076368
5 changed files with 5 additions and 21 deletions

View File

@@ -28,7 +28,7 @@ export async function getProjectById(id: string) {
export const getProjectByIdCached = cacheable(getProjectById, 60 * 60 * 24);
export async function getProjectWithClients(id: string) {
const res = await db.project.findUnique({
const res = await db.$primary().project.findUnique({
where: {
id,
},