fix: single inbound traffic reset resets all inbounds (#4334) (#4338)

This commit is contained in:
Abdalrahman
2026-05-13 15:49:54 +03:00
committed by GitHub
parent ad81649c16
commit f29c8a5e29
15 changed files with 33 additions and 1 deletions
+1 -1
View File
@@ -396,7 +396,7 @@ function confirmResetTraffic(dbInbound) {
okText: 'Reset',
cancelText: 'Cancel',
onOk: async () => {
const msg = await HttpUtil.post(`/panel/api/inbounds/resetAllTraffics`);
const msg = await HttpUtil.post(`/panel/api/inbounds/${dbInbound.id}/resetTraffic`);
if (msg?.success) await refresh();
},
});