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
@@ -1,4 +1,4 @@
|
||||
import type { Prisma } from "@prisma/client";
|
||||
import type { Prisma, Credential } from "@prisma/client";
|
||||
import { PeriodType, SchedulingType } from "@prisma/client";
|
||||
|
||||
import { DailyLocationType } from "@calcom/app-store/locations";
|
||||
@@ -25,7 +25,7 @@ type UsernameSlugLinkProps = {
|
||||
slug: string;
|
||||
};
|
||||
|
||||
const user: User = {
|
||||
const user: User & { credentials: Credential[] } = {
|
||||
metadata: null,
|
||||
theme: null,
|
||||
credentials: [],
|
||||
|
||||
Reference in new issue
Block a user