From 586f835ae7302bbb65630e7b22f7735dccf9fc3a Mon Sep 17 00:00:00 2001 From: Sidney Date: Tue, 21 Apr 2026 20:51:30 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20corrigindo=20importa=C3=A7=C3=A3o=20de?= =?UTF-8?q?=20=C3=ADcones=20e=20otimizando=20rotas=20de=20telemetria?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/server.selfhosted.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/manager/server.selfhosted.js b/manager/server.selfhosted.js index 1775ae0..776a116 100644 --- a/manager/server.selfhosted.js +++ b/manager/server.selfhosted.js @@ -28,7 +28,7 @@ import { getCobrancasByInstallmentId, updateCobrancaLinkCarne, updateCobrancaByField } from './services/database.js'; -import { uploadLogo as uploadLogoToStorage, uploadCarne as uploadCarneToStorage } from './services/storage.js'; +import { uploadLogo as uploadLogoToStorage, uploadCarne as uploadCarneToStorage, getMinioStats } from './services/storage.js'; const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); @@ -128,7 +128,6 @@ app.get('/api/system-stats', async (req, res) => { (SELECT COUNT(*) FROM information_schema.tables WHERE table_schema='public') as table_count `); - const { getMinioStats } = await import('./services/storage.js'); const minioStats = await getMinioStats(); res.json({