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:
alannncandAlex van Andel authored and GitHub committed 2023-04-20 15:55:19 +00:00
1 parent c1c95f711b
commit fe996b4e41
13 files changed
+92 -39

No files matched your search

+2 -2
View File
@@ -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: [],