Initial commit

This commit is contained in:
Luka Romih
2022-12-07 04:43:36 +01:00
commit 257f3c354f
496 changed files with 55373 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
const debug = require('debug')('termPortal:controllers/api/v1/system')
const Eurotermbank = require('../../../models/system/eurotermbank')
exports.handleCspReports = (req, res) => {
debug(req.body)
res.sendStatus(200)
}
exports.syncWithEurotermbank = async (req, res) => {
try {
await Eurotermbank.push()
res.send('Sync successful')
} catch (error) {
res.send('Sync failed')
}
}