From 88f721b4491a2219fa59970df25b2d313ed860a8 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 15 Apr 2026 18:23:29 +0200 Subject: [PATCH] chore: move /api/updatequota endpoint into accounts plugin --- lib/http-worker.js | 16 ---------------- 1 file changed, 16 deletions(-) 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({