summaryrefslogtreecommitdiff
path: root/frontend/src/types/login.ts
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/types/login.ts')
-rw-r--r--frontend/src/types/login.ts7
1 files changed, 1 insertions, 6 deletions
diff --git a/frontend/src/types/login.ts b/frontend/src/types/login.ts
index 73168be..f0cdd8d 100644
--- a/frontend/src/types/login.ts
+++ b/frontend/src/types/login.ts
@@ -1,7 +1,7 @@
export type AuthorizedUser = {
id: number;
email: string;
- createdAt: Date;
+ createdAt: string;
};
export type LoginFormData = {
@@ -14,8 +14,3 @@ export type LoginResponse = {
user: AuthorizedUser;
token: string;
};
-
-export type ErrorResponse = {
- message: string;
- error?: unknown;
-};