migration fix + removed some old incoming checking

This commit is contained in:
Josh Harvey 2015-01-08 23:11:03 -05:00
parent d9a9c9f4eb
commit 71aa425dd1
5 changed files with 20 additions and 53 deletions

View file

@ -164,6 +164,11 @@ function pair(req, res) {
);
}
function registerRaqia(req, res) {
var raqia = require('./raqia.json');
res.json(raqia);
}
function init(localConfig) {
lamassuConfig = localConfig.lamassuConfig;
plugins = localConfig.plugins;
@ -184,6 +189,7 @@ function init(localConfig) {
app.post('/verify_user', authMiddleware, verifyUser);
app.post('/verify_transaction', authMiddleware, verifyTx);
app.post('/pair', pair);
app.get('/register_raqia', registerRaqia);
return app;
}