Skip to content

Commit

Permalink
Update to v5.0.1
Browse files Browse the repository at this point in the history
v5.0.1
  • Loading branch information
Fiahblade authored Oct 10, 2022
2 parents 57e75b1 + cc30d88 commit 92d558a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mcss-remote-panel",
"version": "5.0.0",
"version": "5.0.1",
"private": true,
"scripts": {
"dev": "vite dev",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export async function sendServerCommand(input: string) {
return Promise.reject(response);
})
.catch((error) => {
if (error.status === 403) {
if (error.status === 401) {
logout();
}
});
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/console.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
scrollToBottom();
})
.catch((error) => {
if (error.status === 403) {
if (error.status === 401) {
logout();
}
})
Expand Down

0 comments on commit 92d558a

Please sign in to comment.