diff --git a/lib/http-worker.js b/lib/http-worker.js index b1768016f..b99c2243f 100644 --- a/lib/http-worker.js +++ b/lib/http-worker.js @@ -750,22 +750,6 @@ var send500 = function (res, path) { }); }; -app.get('/api/updatequota', function (req, res) { - if (!Env.accounts_api) { - res.status(404); - return void send404(res); - } - sendMessage({ - command: 'UPDATE_QUOTA', - }, (err) => { - if (err) { - res.status(500); - return void send500(res); - } - res.send(); - }); -}); - app.get('/api/profiling', function (req, res) { if (!Env.enableProfiling) { return void send404(res); } sendMessage({