From eaebd964192b635062a1b1b6c457dc6e7856a589 Mon Sep 17 00:00:00 2001 From: Arsen Musayelyan Date: Sat, 10 Dec 2022 12:10:34 -0800 Subject: [PATCH] Rename Q field to Query --- types/site.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/site.go b/types/site.go index f3d921a..8bd0a09 100644 --- a/types/site.go +++ b/types/site.go @@ -22,8 +22,8 @@ type SearchResponse struct { } type ResolveObject struct { - Q string `json:"q,omitempty" url:"q,omitempty"` - Auth Optional[string] `json:"auth,omitempty" url:"auth,omitempty"` + Query string `json:"q,omitempty" url:"q,omitempty"` + Auth Optional[string] `json:"auth,omitempty" url:"auth,omitempty"` } type ResolveObjectResponse struct {