aboutsummaryrefslogtreecommitdiff
path: root/src/services/notifications_fetcher
diff options
context:
space:
mode:
authorEugenij <eugenijm@protonmail.com>2020-07-03 19:45:49 +0000
committerShpuld Shpludson <shp@cock.li>2020-07-03 19:45:49 +0000
commitde291e2e33f1d9e04b27ed30ba3b012d73178e63 (patch)
treec289fdff07b399d9dbd19e024dde2b6322ead655 /src/services/notifications_fetcher
parent7bd89b579f9fa20a046b67dbf5cd14967b07981c (diff)
Add bookmarks
Co-authored-by: jared <jaredrmain@gmail.com>
Diffstat (limited to 'src/services/notifications_fetcher')
-rw-r--r--src/services/notifications_fetcher/notifications_fetcher.service.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/notifications_fetcher/notifications_fetcher.service.js b/src/services/notifications_fetcher/notifications_fetcher.service.js
index 64499a1b..4644e449 100644
--- a/src/services/notifications_fetcher/notifications_fetcher.service.js
+++ b/src/services/notifications_fetcher/notifications_fetcher.service.js
@@ -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 }))