Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xpub-epmc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
75
Issues
75
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xpub
xpub-epmc
Commits
1ec4c4f9
Commit
1ec4c4f9
authored
Jul 08, 2019
by
Audrey Hamelers
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into 'master'
#395
See merge request
!184
parents
3ac7a533
d150f8d7
Pipeline
#13028
passed with stages
in 1 minute and 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
server/scheduled-alerts/taggingAlert.js
server/scheduled-alerts/taggingAlert.js
+2
-1
No files found.
server/scheduled-alerts/taggingAlert.js
View file @
1ec4c4f9
...
...
@@ -27,11 +27,12 @@ async function taggingAlert() {
.
joinRelation
(
'
manuscript
'
)
.
whereNull
(
'
manuscript.deleted
'
)
.
distinct
(
'
a.manuscriptId
'
)
logger
.
info
(
`
${
tagging
.
length
}
manuscripts sent to tagging yesterday.`
)
if
(
tagging
.
length
>
0
)
{
logger
.
info
(
'
Sending tagging count email.
'
)
await
sendMessage
(
tagging
)
return
true
}
logger
.
info
(
'
No manuscripts sent to tagging yesterday.
'
)
}
catch
(
e
)
{
logger
.
error
(
`Unable to get or send tagging count:
${
e
}
`
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment