diff options
| author | Shpuld Shpludson <shp@cock.li> | 2020-07-03 19:45:49 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2020-07-03 19:45:49 +0000 |
| commit | 76de4a31328099d3bd3eb42b01929af14ea32e24 (patch) | |
| tree | c289fdff07b399d9dbd19e024dde2b6322ead655 /src/services/notifications_fetcher/notifications_fetcher.service.js | |
| parent | 7bd89b579f9fa20a046b67dbf5cd14967b07981c (diff) | |
| parent | de291e2e33f1d9e04b27ed30ba3b012d73178e63 (diff) | |
Merge branch 'bookmarks' into 'develop'
Bookmarks
Closes #472
See merge request pleroma/pleroma-fe!903
Diffstat (limited to 'src/services/notifications_fetcher/notifications_fetcher.service.js')
| -rw-r--r-- | src/services/notifications_fetcher/notifications_fetcher.service.js | 2 |
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 })) |
