We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be9959c commit 30ef9c5Copy full SHA for 30ef9c5
src/models/user.model.ts
@@ -3,6 +3,6 @@ import type { User as PrismaUser } from "generated/prisma/client";
3
export type User = PrismaUser;
4
5
export interface AuthResponse {
6
- user: User;
+ user: Omit<User, "password">;
7
token: string;
8
}
0 commit comments