Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
X
xpub-faraday
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container Registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
xpub
xpub-faraday
Commits
cc9efb9f
Commit
cc9efb9f
authored
6 years ago
by
Bogdan Cochior
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' of
https://gitlab.coko.foundation/xpub/xpub-faraday
into develop
parents
c9a8c380
e742c798
No related branches found
No related tags found
1 merge request
!6
Agree/Decline to work on a manuscript
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
packages/component-invite/src/helpers/User.js
+9
-5
9 additions, 5 deletions
packages/component-invite/src/helpers/User.js
packages/component-invite/src/routes/collectionsInvitations/delete.js
+4
-3
4 additions, 3 deletions
...ponent-invite/src/routes/collectionsInvitations/delete.js
with
13 additions
and
8 deletions
packages/component-invite/src/helpers/User.js
+
9
−
5
View file @
cc9efb9f
...
...
@@ -74,15 +74,19 @@ const setupReviewerDecisionEmailData = async ({
})
}
const
setupReviewerUnassignEmail
=
async
(
models
,
const
setupReviewerUnassignEmail
=
async
({
UserModel
,
FragmentModel
,
collection
,
user
,
mailService
,
)
=>
{
}
)
=>
{
const
{
title
,
authorName
}
=
await
collectionHelper
.
getFragmentAndAuthorData
(
models
,
collection
,
{
UserModel
,
FragmentModel
,
collection
,
},
)
await
mailService
.
setupReviewerUnassignEmail
(
...
...
This diff is collapsed.
Click to expand it.
packages/component-invite/src/routes/collectionsInvitations/delete.js
+
4
−
3
View file @
cc9efb9f
...
...
@@ -50,12 +50,13 @@ module.exports = models => async (req, res) => {
'
revoke-handling-editor
'
,
)
}
else
if
(
invitation
.
role
===
'
reviewer
'
)
{
await
userHelper
.
setupReviewerUnassignEmail
(
models
,
await
userHelper
.
setupReviewerUnassignEmail
({
UserModel
:
models
.
User
,
FragmentModel
:
models
.
Fragment
,
collection
,
user
,
mailService
,
)
}
)
}
return
res
.
status
(
200
).
json
({})
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment