Skip to content

Commit

Permalink
fix: ParseWebhookUpdate function
Browse files Browse the repository at this point in the history
  • Loading branch information
nlypage committed Jul 26, 2024
1 parent fec7404 commit 6d0619f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bovapay/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type WebhookUpdate struct {
Message string `json:"message"`
Currency string `json:"currency"`
PaymentMethod string `json:"payment_method"`
Rate float64 `json:"rate"`
Rate float64 `json:"rate,string"`
// Amount in USDT
Amount float64 `json:"amount,string"`
// FiatAmount in RUB
Expand Down

0 comments on commit 6d0619f

Please sign in to comment.