Add bookmarks

Co-authored-by: jared <jaredrmain@gmail.com>
This commit is contained in:
Eugenij 2020-07-03 19:45:49 +00:00 committed by Shpuld Shpludson
parent 7bd89b579f
commit de291e2e33
20 changed files with 213 additions and 24 deletions

View file

@ -41,7 +41,7 @@ const fetchAndUpdate = ({ store, credentials, older = false }) => {
const fetchNotifications = ({ store, args, older }) => {
return apiService.fetchTimeline(args)
.then((notifications) => {
.then(({ data: notifications }) => {
update({ store, notifications, older })
return notifications
}, () => store.dispatch('setNotificationsError', { value: true }))