experimental api changes

This commit is contained in:
2022-10-10 18:47:10 -05:00
parent 4965480aaf
commit b47730758f
4 changed files with 27 additions and 19 deletions

View File

@@ -30,7 +30,8 @@ module.exports = (app) => {
router.post('/', async (req, res, next) => {
try {
const data = req.body;
const response = await UserServiceInstance.insert(data);
res.status(200).send(response);
} catch(e) {
next(e);
}