mirror of
https://github.com/Expand-sys/ccash-client-js
synced 2026-03-22 12:27:09 +11:00
Update CCashClient.ts
This commit is contained in:
parent
b57218c604
commit
86d5c1a99c
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ export class CCashClient implements ICCashClient {
|
|||
|
||||
log(user: string, pass: string): Promise<number[]> {
|
||||
return this.http
|
||||
.get(`/${user}/bal`, {
|
||||
.get(`/${user}/log`, {
|
||||
headers: { Password: pass },
|
||||
})
|
||||
.then((response) => this.handleError(response) || response.data.value);
|
||||
|
|
|
|||
Loading…
Reference in a new issue