aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/services/api/api.service.js2
-rw-r--r--src/services/notifications_fetcher/notifications_fetcher.service.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/services/api/api.service.js b/src/services/api/api.service.js
index df065cab..4a15b14b 100644
--- a/src/services/api/api.service.js
+++ b/src/services/api/api.service.js
@@ -1352,7 +1352,7 @@ const setReportState = ({ id, state, credentials }) => {
return fetch(PLEROMA_ADMIN_REPORTS, {
headers: {
...authHeaders(credentials),
- 'Accept': 'application/json',
+ Accept: 'application/json',
'Content-Type': 'application/json'
},
method: 'PATCH',
diff --git a/src/services/notifications_fetcher/notifications_fetcher.service.js b/src/services/notifications_fetcher/notifications_fetcher.service.js
index 95138a16..6c247210 100644
--- a/src/services/notifications_fetcher/notifications_fetcher.service.js
+++ b/src/services/notifications_fetcher/notifications_fetcher.service.js
@@ -24,7 +24,7 @@ const fetchAndUpdate = ({ store, credentials, older = false, since }) => {
const timelineData = rootState.statuses.notifications
const hideMutedPosts = getters.mergedConfig.hideMutedPosts
- args['includeTypes'] = mastoApiNotificationTypes
+ args.includeTypes = mastoApiNotificationTypes
args.withMuted = !hideMutedPosts
args.timeline = 'notifications'