mirror of
https://github.com/FJurmanovic/wallet-web.git
synced 2026-02-06 06:08:10 +00:00
implemented balance headers
This commit is contained in:
@@ -4,6 +4,14 @@ class WalletService extends BaseService {
|
||||
constructor(appService: AppService) {
|
||||
super("/wallet", appService);
|
||||
}
|
||||
|
||||
getBalance = (params?: Object, headers?: HeadersInit) => {
|
||||
return this.appService.get(
|
||||
this.endpoint + "/wallet-header",
|
||||
params,
|
||||
headers
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
export default WalletService;
|
||||
|
||||
Reference in New Issue
Block a user