forked from AkkomaGang/akkoma-fe
add back missing catch
This commit is contained in:
parent
cda298c822
commit
ce0a1e7ad1
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ const fetchNotifications = ({ store, args, older }) => {
|
||||||
update({ store, notifications, older })
|
update({ store, notifications, older })
|
||||||
return notifications
|
return notifications
|
||||||
}, () => store.dispatch('setNotificationsError', { value: true }))
|
}, () => store.dispatch('setNotificationsError', { value: true }))
|
||||||
|
.catch(() => store.dispatch('setNotificationsError', { value: true }))
|
||||||
}
|
}
|
||||||
|
|
||||||
const startFetching = ({ credentials, store }) => {
|
const startFetching = ({ credentials, store }) => {
|
||||||
|
|
Loading…
Reference in a new issue