Skip to content

Commit

Permalink
status weg
Browse files Browse the repository at this point in the history
  • Loading branch information
pieterjanin committed May 18, 2024
1 parent 6ff26f5 commit 34f57a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/services/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export async function authorized_fetch<T>(
});
if (response.status === 401) {
await refresh();
throw new FetchError("Not authenticated", response.status);
throw new FetchError("Not authenticated");
} else if (!response.ok) {
const error = await response.json();
throw new FetchError(error.detail, error);
Expand Down

0 comments on commit 34f57a6

Please sign in to comment.