From 3c9ed97c64eebcc4b04f27fd84c7aa7db5e1f310 Mon Sep 17 00:00:00 2001 From: Alessio Date: Sat, 10 Dec 2022 10:55:55 -0500 Subject: [PATCH] Fix lint error --- scraper/api_request_utils.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scraper/api_request_utils.go b/scraper/api_request_utils.go index e0f08b2..3a3c723 100644 --- a/scraper/api_request_utils.go +++ b/scraper/api_request_utils.go @@ -245,8 +245,8 @@ func UpdateQueryCursor(req *http.Request, new_cursor string, is_tweet bool) { func (api API) GetUser(handle UserHandle) (APIUser, error) { // TODO: break up this URL into params so it's readable - url, err := url.Parse("https://api.twitter.com/graphql/4S2ihIKfF3xhp-ENxvUAfQ/UserByScreenName?variables=%7B%22screen_name%22%3A%22" + string(handle) + - "%22%2C%22withHighlightedLabel%22%3Atrue%7D") + url, err := url.Parse("https://api.twitter.com/graphql/4S2ihIKfF3xhp-ENxvUAfQ/UserByScreenName?variables=%7B%22screen_name%22%3A%22" + + string(handle) + "%22%2C%22withHighlightedLabel%22%3Atrue%7D") if err != nil { panic(err) }