diff options
Diffstat (limited to 'src/client/api/client.ts')
| -rw-r--r-- | src/client/api/client.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/api/client.ts b/src/client/api/client.ts index c91160d..fc718a2 100644 --- a/src/client/api/client.ts +++ b/src/client/api/client.ts @@ -117,7 +117,7 @@ export class ApiClient { return response; } - private async handleResponse<T>(response: Response): Promise<T> { + async handleResponse<T>(response: Response): Promise<T> { if (!response.ok) { const errorBody = (await response.json().catch(() => ({}))) as ApiError; throw new ApiClientError( |
