Skip to content

Commit

Permalink
chore: ignore 403 when fetching current board
Browse files Browse the repository at this point in the history
  • Loading branch information
WikiRik committed Sep 26, 2023
1 parent 2e695ad commit cc8b6f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/core/bodies/Single.vue
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,8 @@ export default {
}
}
}).catch((err) => {
if (err.response.status === 404) {
// TODO: remove 403 once all members can view boards
if (err.response.status === 403 || err.response.status === 404) {
return
}
this.$root.showError('Some error happened', err)
Expand Down

0 comments on commit cc8b6f9

Please sign in to comment.