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:
denozord committed 2025-08-05 23:09:52 +07:00
1 parent 31559eae3b
commit 859395028f
2 files changed
+616 -756

No files matched your search

+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