diff --git a/src/CCashClient.ts b/src/CCashClient.ts index 43dc9d8..a62e3e1 100644 --- a/src/CCashClient.ts +++ b/src/CCashClient.ts @@ -28,7 +28,7 @@ export class CCashClient implements ICCashClient { log(user: string, pass: string): Promise { return this.http - .get(`/${user}/bal`, { + .get(`/${user}/log`, { headers: { Password: pass }, }) .then((response) => this.handleError(response) || response.data.value);