metrics added also

This commit is contained in:
2025-07-04 00:58:41 +05:00
parent e2b696655d
commit d23288f034
4 changed files with 102 additions and 67 deletions

View File

@@ -125,6 +125,11 @@ class AuthService {
return this.makeRequest('/user/balance', null, true, 'GET');
}
// NEW: Fetch metrics for dashboard
async getMetrics() {
return this.makeRequest('/metrics', null, true, 'GET');
}
async transferMoney(data) {
return this.makeRequest('/user/transfer', data, true);
}