aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/client/api/types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/api/types.ts')
-rw-r--r--src/client/api/types.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client/api/types.ts b/src/client/api/types.ts
index d5df182..eaf69eb 100644
--- a/src/client/api/types.ts
+++ b/src/client/api/types.ts
@@ -10,8 +10,10 @@ export interface AuthResponse {
}
export interface ApiError {
- error: string;
- code?: string;
+ error: {
+ message: string;
+ code: string;
+ };
}
export interface Tokens {