Skip to content

Commit

Permalink
chore: remove unexpected json data
Browse files Browse the repository at this point in the history
  • Loading branch information
onlyoon committed Jan 15, 2024
1 parent 2a5621a commit faca1a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/(mono-column)/login/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
if (response.status >= 200 && response.status < 300) {
sessionStorage.setItem("q-box", JSON.stringify(response.body));
goto("/main");
return response.json();
return;
} else {
const errData = response.json();
console.log(errData);
Expand Down

0 comments on commit faca1a7

Please sign in to comment.