fix: remove log transactionCount

This commit is contained in:
Luke Bennett 2021-06-13 21:32:19 +01:00
parent dbe1008850
commit a26b61aeec
No known key found for this signature in database
GPG key ID: A738E9C68D3BF31A
2 changed files with 2 additions and 7 deletions

View file

@ -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<number[]> {
log(user: string, pass: string): Promise<number[]> {
return this.http
.get(`/${user}/bal`, {
headers: { Password: pass },
params: { n: transactionCount },
})
.then((response) => this.handleError(response) || response.data.value);
}

View file

@ -5,7 +5,7 @@ export { User };
export interface ICCashClient {
// Usage
balance(user: string): Promise<number>;
log(user: string, pass: string, transactionCount?: number): Promise<number[]>;
log(user: string, pass: string): Promise<number[]>;
sendFunds(
user: string,
pass: string,