Skip to content

Commit 0ec2d32

Browse files
committed
fix getBinary
1 parent 0b72768 commit 0ec2d32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/statements.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class Statments extends BaseResource {
3131
}
3232

3333
public getBinary(statementId: string, customerId?: string, isPDF = false, language: "en" | "es" = "en"): Promise<string> {
34-
return this.get(statementId, customerId, isPDF, language)
34+
return this.get(statementId, customerId, isPDF, "binary", language)
3535
}
3636

3737
public getBankVerification(accountId: string, includeProofOfFunds = false, responseEncoding: responseEncoding = "binary", responseType: ResponseType = "blob"): Promise<string> {

0 commit comments

Comments
 (0)