refactor: натравил форматтер на весь фронт

This commit is contained in:
2026-05-25 02:06:11 +03:00
parent 24df65a13c
commit 98aaa86ec4
43 changed files with 1947 additions and 657 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ export async function apiRequest<T>(
? String((body as { message: unknown }).message)
: typeof body === 'object' && body && 'detail' in body
? String((body as { detail: unknown }).detail)
: `API request failed with status ${response.status}`
: `API request failed with status ${response.status}`
throw new ApiError(message, response.status, body)
}