diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..5e60551 --- /dev/null +++ b/.pre-commit-config.yaml @@ -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 diff --git a/pkg/payment/response.go b/pkg/payment/response.go index 84a7dca..8da9cc8 100644 --- a/pkg/payment/response.go +++ b/pkg/payment/response.go @@ -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.