Skip to content

Commit

Permalink
Merge pull request #73 from mercadopago/fix/is-same-bank-account-owner
Browse files Browse the repository at this point in the history
Fix: change is_same_bank_account_owner type to bool
  • Loading branch information
andreagostinho-meli authored Aug 27, 2024
2 parents b7e2256 + 94ab291 commit e858094
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
repos:
# Websec hook is MANDATORY, DO NOT comment it.
- repo: https://github.com/melisource/fury_websec-git-hooks
rev: v1.1.0
hooks:
- id: pre_commit_hook
stages: [commit]
- id: post_commit_hook
stages: [post-commit]

# Datasec hook is MANDATORY, DO NOT comment it.
- repo: https://github.com/melisource/fury_datasec-git-hooks
rev: 1.0.3
hooks:
- id: pre_commit_hook
stages: [commit]
verbose: true
2 changes: 1 addition & 1 deletion pkg/payment/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ type BankInfoResponse struct {
Payer BankInfoPayerResponse `json:"payer"`
Collector BankInfoCollectorResponse `json:"collector"`

IsSameBankAccountOwner string `json:"is_same_bank_account_owner"`
IsSameBankAccountOwner bool `json:"is_same_bank_account_owner"`
}

// SubscriptionSequenceResponse represents subscription sequence.
Expand Down

0 comments on commit e858094

Please sign in to comment.