Skip to content
Snippets Groups Projects
Commit 89fa488b authored by michael.minelli's avatar michael.minelli
Browse files

DatabaseType => Remove refreshToken

parent 8a937e2e
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,6 @@ class Session {
}
set profile(newProfile: User) {
delete newProfile.password;
this._profile = newProfile;
}
......
......@@ -26,8 +26,7 @@ const resultBase = Prisma.validator<Prisma.ResultDefaultArgs>()({
});
export type User = Omit<Prisma.UserGetPayload<typeof userBase>, 'gitlabLastRefreshToken'> & {
gitlabLastRefreshToken?: string
export type User = Prisma.UserGetPayload<typeof userBase> & {
isTeachingStaff: boolean
isAdmin: boolean
gitlabProfile: LazyVal<GitlabUser>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment