diff --git a/src/CCashClient.ts b/src/CCashClient.ts index eb9acb4..58a3310 100644 --- a/src/CCashClient.ts +++ b/src/CCashClient.ts @@ -26,15 +26,10 @@ export class CCashClient implements ICCashClient { .then((response) => this.handleError(response) || response.data.value); } - log( - user: string, - pass: string, - transactionCount: number = 10 - ): Promise { + log(user: string, pass: string): Promise { return this.http .get(`/${user}/bal`, { headers: { Password: pass }, - params: { n: transactionCount }, }) .then((response) => this.handleError(response) || response.data.value); } diff --git a/src/CCashClient.types.ts b/src/CCashClient.types.ts index c1f675d..e1acab1 100644 --- a/src/CCashClient.types.ts +++ b/src/CCashClient.types.ts @@ -5,7 +5,7 @@ export { User }; export interface ICCashClient { // Usage balance(user: string): Promise; - log(user: string, pass: string, transactionCount?: number): Promise; + log(user: string, pass: string): Promise; sendFunds( user: string, pass: string,