Remove /config endpoint
We seem to have went with stashing relevant configuration onto `/poll/:currency` result.
This commit is contained in:
parent
204932f4f9
commit
bd1963fb6a
2 changed files with 0 additions and 79 deletions
|
|
@ -61,13 +61,6 @@ var send = function(req, res) {
|
|||
});
|
||||
};
|
||||
|
||||
var configurations = function(req, res) {
|
||||
res.json({
|
||||
err: _config.exchanges && _config.exchanges.settings ? null : new Error('Settings Not Found!'),
|
||||
results: _config.exchanges.settings
|
||||
});
|
||||
};
|
||||
|
||||
var pair = function(req, res) {
|
||||
var token = req.body.token;
|
||||
var name = req.body.name;
|
||||
|
|
@ -95,7 +88,6 @@ exports.init = function(app, config, lamassuConfig, authMiddleware) {
|
|||
exports._transferExchange = api._transferExchange;
|
||||
|
||||
app.get('/poll/:currency', authMiddleware, poll);
|
||||
app.get('/config', authMiddleware, configurations);
|
||||
app.post('/trade', authMiddleware, trade);
|
||||
app.post('/send', authMiddleware, send);
|
||||
app.post('/pair', pair);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue