diff --git a/server/model-manuscript/src/graphql.js b/server/model-manuscript/src/graphql.js index 74d76dbc89abe66acf4c77f5ba4d3b7664ab2afc..2a1726f0144905bebb8ea9a2f236ff254594e5eb 100644 --- a/server/model-manuscript/src/graphql.js +++ b/server/model-manuscript/src/graphql.js @@ -56,12 +56,13 @@ const commonUpdateManuscript = async (_, { id, input }, ctx) => { const updatedManuscript = { ...manuscript, + ...manuscriptDelta, submission: { ...manuscript.submission, ...manuscriptDelta.submission, }, } - + // if (manuscript.status === 'revise') { // return manuscript.createNewVersion(update) // }