Skip to content

Commit

Permalink
add some spaces here
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom committed Oct 30, 2024
1 parent 0d8dbfc commit d0a8e3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/dashboard/app/javascript/turbo_shim.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ export function pollAndReplace(url, delay, id, callback) {
.then((response) => {
if(response.status == 200) {
return Promise.resolve(response);
}else if(response.status == 401){
} else if(response.status == 401) {
return Promise.reject("This page cannot update becase you are no longer authenticated. Please refresh the page to log back in.")
}else{
} else {
return Promise.reject(response.text());
}
})
Expand Down

0 comments on commit d0a8e3b

Please sign in to comment.