Skip to content
This repository was archived by the owner on Feb 10, 2020. It is now read-only.

Commit c3c48aa

Browse files
author
Emmanouil Konstantinidis
committed
Fix mark repo notifications
1 parent a57007a commit c3c48aa

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

App/Actions/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,15 +225,13 @@ export function markRepoNotifications(loginId, repoId, repoFullName) {
225225
'Accept': 'application/json',
226226
'Authorization': token,
227227
'Content-Type': 'application/json'
228-
}
228+
},
229+
body: JSON.stringify({})
229230
})
230231
.then(response => {
231232
if (!response.ok) {
232233
throw Error(response.statusText);
233234
}
234-
return response.json();
235-
})
236-
.then(json => {
237235
dispatch(markRepoNotificationsSuccess(repoFullName));
238236
})
239237
.catch(error => {

0 commit comments

Comments
 (0)