cleanup
This commit is contained in:
@ -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,
|
||||
},
|
||||
|
Reference in New Issue
Block a user