Skip to content
Snippets Groups Projects
Commit 46429f1b authored by ems19's avatar ems19
Browse files

[FIX] PUT

parent 468c1e4b
No related branches found
No related tags found
4 merge requests!377prd_version of simcaq,!373merge dev -> homologa,!370Dev migration,!369Postgres migration
......@@ -168,7 +168,7 @@ pubApp.put('/:id', passport.authenticate('bearer', { session: false }), authoriz
return next({ message: 'Erro ao atualizar publicacao' });
}
})
let p = p.toJSON();
let p = pb.toJSON();
res.json({ publication: p });
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment