From 20c60307ba90d9421eece216b30311fb2885c591 Mon Sep 17 00:00:00 2001 From: erangel1 Date: Wed, 6 May 2026 23:23:36 +0200 Subject: [PATCH] phase 1 complete --- frontend/src/api/client.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/api/client.ts b/frontend/src/api/client.ts index 1880014..73e6800 100644 --- a/frontend/src/api/client.ts +++ b/frontend/src/api/client.ts @@ -11,12 +11,12 @@ async function getCSRFToken(): Promise { } export class ApiError extends Error { - constructor( - public readonly status: number, - message: string, - ) { + readonly status: number + + constructor(status: number, message: string) { super(message) this.name = 'ApiError' + this.status = status } }