Replace string pointer by string value

This commit is contained in:
fboltz 2021-05-27 11:24:56 +02:00
parent 8763a504b0
commit e2a8da45da

View File

@ -79,10 +79,10 @@ type Client struct {
// GDErrorField describe the error reason
type GDErrorField struct {
Code *string `json:"code,omitempty"`
Message *string `json:"message,omitempty"`
Path *string `json:"path,omitempty"`
PathRelated *string `json:"pathRelated,omitempty"`
Code string `json:"code,omitempty"`
Message string `json:"message,omitempty"`
Path string `json:"path,omitempty"`
PathRelated string `json:"pathRelated,omitempty"`
}
// GDErrorResponse is the body response when an API call fails