Skip to content

Commit

Permalink
refactor: use option timeout in patpass
Browse files Browse the repository at this point in the history
  • Loading branch information
gasspper committed Jul 9, 2024
1 parent 68da302 commit b4e2560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/transbank/common/request_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const RequestService = {
method: request.method,
url: options.environment + request.endpoint,
headers: requestHeaders,
timeout: 10000,
timeout: options.timeout,
data: request.toJson(),
})
.then((response) => {
Expand Down

0 comments on commit b4e2560

Please sign in to comment.