feat: Refactor BillingManager to improve validation, add filter functionality, and enhance UI with new icons and export feature
Publish Fast Tabler Docker image / build-and-push-fast (push) Successful in 7m26s

This commit is contained in:
2025-08-05 23:09:52 +07:00
parent 31559eae3b
commit 859395028f
2 changed files with 616 additions and 756 deletions
+2 -2
View File
@@ -343,8 +343,8 @@ app.post('/api/billing', async (req, res) => {
// Validate each billing item has required fields
for (let i = 0; i < billingData.length; i++) {
const item = billingData[i];
if (!item.hostName || !item.nodeName || !item.country || !item.provider) {
return res.status(400).send(`Billing item at index ${i} is missing required fields`);
if (!item.hostName || !item.country || !item.provider) {
return res.status(400).send(`Billing item at index ${i} is missing required fields: hostName, country, provider`);
}
}
File diff suppressed because it is too large Load Diff