Skip to content

Commit efc9bbd

Browse files
authored
Update types.go (#244)
Add missing field
1 parent b7d3cfd commit efc9bbd

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

types.go

+6-5
Original file line numberDiff line numberDiff line change
@@ -495,11 +495,12 @@ type (
495495

496496
// ErrorResponseDetail struct
497497
ErrorResponseDetail struct {
498-
Field string `json:"field"`
499-
Issue string `json:"issue"`
500-
Name string `json:"name"`
501-
Message string `json:"message"`
502-
Links []Link `json:"link"`
498+
Field string `json:"field"`
499+
Issue string `json:"issue"`
500+
Name string `json:"name"`
501+
Message string `json:"message"`
502+
Description string `json:"description"`
503+
Links []Link `json:"link"`
503504
}
504505

505506
// ErrorResponse https://developer.paypal.com/docs/api/errors/

0 commit comments

Comments
 (0)