Files
lsp/controllers/ipx.controller.js
Arnaud Nelissen 3e7bcc81cf Apply Gitignore
2022-03-09 17:58:17 +01:00

18 lines
389 B
JavaScript

const services = require('../services')
const { ipx } = services
const postIpxData = async (req, res, next) => {
try {
var values = { ipxModules: req.body.ipxModules, id: req.params.id }
const code = await ipx.createIpxData(values)
res.send(code)
} catch (e) {
console.log(e.message)
res.sendStatus(500)
}
}
module.exports = {
postIpxData,
}