summaryrefslogtreecommitdiff
path: root/frontend/src/types/login.ts
diff options
context:
space:
mode:
authorArne Rief <riearn@proton.me>2025-12-20 14:09:20 +0100
committerArne Rief <riearn@proton.me>2025-12-20 14:09:20 +0100
commit237f8ae6c29bbf485c312b2fed4d5ab4f99a4eff (patch)
tree238e82a6dc22372c2f9bb8504ab9160be49bd4f3 /frontend/src/types/login.ts
parent655ec610fcce8dd7748f10772d520bdff4f7c78e (diff)
Map and loading robots
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;
-};