Fix/user creds (#8393)
* fix-user-creds * Type fixes * Type fixes * Type fixes --------- Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
1 parent
c1c95f711b
commit
fe996b4e41
13 files changed
+92
-39
No files matched your search
@@ -70,7 +70,10 @@ type EventType = Awaited<ReturnType<typeof getEventType>>;
|
||||
const getUser = (where: Prisma.UserWhereUniqueInput) =>
|
||||
prisma.user.findUnique({
|
||||
where,
|
||||
select: availabilityUserSelect,
|
||||
select: {
|
||||
...availabilityUserSelect,
|
||||
credentials: true,
|
||||
},
|
||||
});
|
||||
|
||||
type User = Awaited<ReturnType<typeof getUser>>;
|
||||
|
||||
Reference in new issue
Block a user