Skip to content

Commit

Permalink
[Build] Hopefully fix build that compiled fine locally
Browse files Browse the repository at this point in the history
  • Loading branch information
Schaka committed Nov 9, 2024
1 parent 91b05b1 commit 33be471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/frontend/src/pages/LoginPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const attemptLogin = async () => {
await api.post('/login', data)
.then(() => router.push('/'))
.catch((err: AxiosError) => {
if(err.response.status === 401) {
if(err.response?.status === 401) {
$q.notify( {
message: "Login failed. Please double check you're using the correct credentials for your Navidrome account.",
position: 'top-right',
Expand Down

0 comments on commit 33be471

Please sign in to comment.