Rename Q field to Query

This commit is contained in:
2022-12-10 12:10:34 -08:00
parent e5d44a3781
commit d055482314

View File

@@ -22,8 +22,8 @@ type SearchResponse struct {
} }
type ResolveObject struct { type ResolveObject struct {
Q string `json:"q,omitempty" url:"q,omitempty"` Query string `json:"q,omitempty" url:"q,omitempty"`
Auth Optional[string] `json:"auth,omitempty" url:"auth,omitempty"` Auth Optional[string] `json:"auth,omitempty" url:"auth,omitempty"`
} }
type ResolveObjectResponse struct { type ResolveObjectResponse struct {