From efc9bbdee018ab0d02afd066a522f0928c640daf Mon Sep 17 00:00:00 2001 From: Christopher Lorke Date: Fri, 22 Jul 2022 10:47:53 +0200 Subject: [PATCH] Update types.go (#244) Add missing field --- types.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/types.go b/types.go index 8fda20a..0f94934 100644 --- a/types.go +++ b/types.go @@ -495,11 +495,12 @@ type ( // ErrorResponseDetail struct ErrorResponseDetail struct { - Field string `json:"field"` - Issue string `json:"issue"` - Name string `json:"name"` - Message string `json:"message"` - Links []Link `json:"link"` + Field string `json:"field"` + Issue string `json:"issue"` + Name string `json:"name"` + Message string `json:"message"` + Description string `json:"description"` + Links []Link `json:"link"` } // ErrorResponse https://developer.paypal.com/docs/api/errors/