This commit is contained in:
polaris
2024-06-29 02:25:52 -04:00
parent f6c5710335
commit 60824969ec
59 changed files with 96 additions and 95 deletions

View File

@ -1,7 +1,7 @@
"use server";
import { getAuth } from "@/auth/queries/getauth";
import { daphnis } from "@/lib/prisma";
import { lachesis } from "@/lib/prisma";
export async function getLachesisInUseCards() {
const { user } = await getAuth();
@ -10,7 +10,7 @@ export async function getLachesisInUseCards() {
throw new Error("User is not authenticated or accessCode is missing");
}
const aimeUser = await daphnis.user.findFirst({
const aimeUser = await lachesis.user.findFirst({
where: {
accessCode: user.accessCode,
},