Skip to content
Snippets Groups Projects
Commit 100ab477 authored by Audrey Hamelers's avatar Audrey Hamelers
Browse files

#522

parent 3952d813
No related branches found
No related tags found
2 merge requests!116Shared data model,!117Dev
......@@ -77,14 +77,22 @@ const Manuscript = {
logger.error(error)
return {
manuscript: null,
errors: [{ message: `No active manuscript with ID: ${id}` }],
errors: [
{
message: `No active manuscript with ID: ${id}. Please ensure EMSIDs begin with 'EMS' and PMCIDs begin with 'PMC'`,
},
],
}
}
return {
manuscript,
errors: manuscript
? null
: [{ message: `No manuscript found with ID: ${id}` }],
: [
{
message: `No manuscript found with ID: ${id}. Please ensure EMSIDs begin with 'EMS' and PMCIDs begin with 'PMC'`,
},
],
}
},
......
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