add back missing catch

rc/2.0.5
Shpuld Shpuldson 4 years ago
parent cda298c822
commit ce0a1e7ad1

@ -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…
Cancel
Save