Skip to content

Commit

Permalink
🐛 Added error handeling for user-fetch request
Browse files Browse the repository at this point in the history
  • Loading branch information
nwrenger committed Dec 5, 2024
1 parent 169aa1e commit cd3ba96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib-view/src/routes/users/UserDialog.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
class="text-muted-foreground absolute left-2 top-2.5 h-5 w-5 p-[2px]"
on:click={async () => {
userInfoResponse = api.user_fetch_data(account);
let data = await userInfoResponse;
let data = handle_result(await userInfoResponse);
forename = data.forename;
surname = data.surname;
account = data.account;
Expand Down

0 comments on commit cd3ba96

Please sign in to comment.