Skip to content

Commit

Permalink
quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vildanbina committed Nov 15, 2023
1 parent d6ae5ca commit 43bb0cf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Models/Response/TransactionResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@ export class TransactionResponse extends HttpClientResponse {
return (
this.data.requestErrors &&
Object.keys(this.data.requestErrors).length > 0 &&
(this.data.requestErrors.channelErrors.length > 0 ||
this.data.requestErrors.serviceErrors.length > 0 ||
this.data.requestErrors.actionErrors.length > 0 ||
this.data.requestErrors.parameterErrors.length > 0 ||
this.data.requestErrors.customParameterErrors.length > 0)
((this.data.requestErrors.channelErrors?.length ?? 0) > 0 ||
(this.data.requestErrors.serviceErrors?.length ?? 0) > 0 ||
(this.data.requestErrors.actionErrors?.length ?? 0) > 0 ||
(this.data.requestErrors.parameterErrors?.length ?? 0) > 0 ||
(this.data.requestErrors.customParameterErrors?.length ?? 0) > 0)
);
}

Expand Down

0 comments on commit 43bb0cf

Please sign in to comment.