diff --git a/src/libs/routes_v1/publication.js b/src/libs/routes_v1/publication.js index 9d59cad4ac57dae0b82842fa1076447ef9732589..441b8674a74b6a11d3b104aa84100034108dfbf8 100644 --- a/src/libs/routes_v1/publication.js +++ b/src/libs/routes_v1/publication.js @@ -159,6 +159,8 @@ pubApp.post('/edit', passport.authenticate('bearer', { session: false }), author pb.is_homepage = data.homepage || pb.is_homepage; pb.is_draft = data.rascunho || pb.is_draft; pb.upload = _file_id || pb.upload; + pb.volume = data.volume || pb.volume; + pb.pages = data.pagina || pb.pages; pb.save().catch(function (err) { log.error(err);