metrics added also
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user