Fix Website auth.
This commit is contained in:
1 parent
1af93a17a3
commit
e28ee6597a
23 files changed
+108
-105
No files matched your search
@@ -9,10 +9,8 @@ export async function createUserWebsite(
|
||||
});
|
||||
}
|
||||
|
||||
export async function getUserWebsite(
|
||||
where: Prisma.UserWebsiteWhereUniqueInput,
|
||||
): Promise<UserWebsite> {
|
||||
return prisma.client.userWebsite.findUnique({
|
||||
export async function getUserWebsite(where: Prisma.UserWebsiteWhereInput): Promise<UserWebsite> {
|
||||
return prisma.client.userWebsite.findFirst({
|
||||
where,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user