refactor: integrate Better-Auth for authentication and remove Supabase dependencies
This commit is contained in:
@@ -93,9 +93,9 @@ export async function getComplexBySlug(slug: string) {
|
||||
});
|
||||
}
|
||||
|
||||
export async function listMyComplexes(appUserId: string) {
|
||||
export async function listMyComplexes(userId: string) {
|
||||
const complexUsers = await db.complexUser.findMany({
|
||||
where: { userId: appUserId },
|
||||
where: { userId },
|
||||
include: {
|
||||
complex: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user