Update CCashClient.ts

This commit is contained in:
Expand-sys 2021-06-14 12:35:01 +10:00 committed by GitHub
parent b57218c604
commit 86d5c1a99c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);