Skip to content
Snippets Groups Projects
Commit e742c798 authored by Sebastian's avatar Sebastian
Browse files

Merge branch 'develop' of gitlab.coko.foundation:xpub/xpub-faraday into develop

parents e5295fa0 3c6d5ae5
No related branches found
No related tags found
1 merge request!6Agree/Decline to work on a manuscript
...@@ -122,7 +122,10 @@ export const revokeReviewer = (invitationId, collectionId) => dispatch => { ...@@ -122,7 +122,10 @@ export const revokeReviewer = (invitationId, collectionId) => dispatch => {
dispatch(inviteRequest()) dispatch(inviteRequest())
return remove( return remove(
`/collections/${collectionId}/invitations/${invitationId}`, `/collections/${collectionId}/invitations/${invitationId}`,
).then(() => dispatch(inviteSuccess()), err => dispatch(inviteError(err))) ).then(
() => dispatch(inviteSuccess()),
err => dispatch(inviteError(get(JSON.parse(err.response), 'error'))),
)
} }
// reviewer decision actions // reviewer decision actions
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment