mirror of
https://github.com/plutov/paypal.git
synced 2025-02-02 15:10:36 +01:00
fixed json unmarshaling of ErrorResponse in PaymentItem
This commit is contained in:
parent
f1166b8b90
commit
8c5eb07be8
2
types.go
2
types.go
|
@ -389,7 +389,7 @@ type (
|
||||||
PayoutItem *PayoutItem `json:"payout_item"`
|
PayoutItem *PayoutItem `json:"payout_item"`
|
||||||
TimeProcessed *time.Time `json:"time_processed,omitempty"`
|
TimeProcessed *time.Time `json:"time_processed,omitempty"`
|
||||||
Links []Link `json:"links"`
|
Links []Link `json:"links"`
|
||||||
Error *ErrorResponse `json:"errors,omitempty"`
|
Error ErrorResponse `json:"errors,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// PayoutResponse struct
|
// PayoutResponse struct
|
||||||
|
|
Loading…
Reference in New Issue
Block a user