From 32a0fb7eff532111d96b662ee8434669a48582fd Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Fri, 5 May 2017 18:05:54 +0200 Subject: [PATCH] use api_request_get in the content fetcher too --- src/gog.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gog.rs b/src/gog.rs index 5433784..d3c3b5a 100644 --- a/src/gog.rs +++ b/src/gog.rs @@ -429,7 +429,7 @@ impl<'a> Gog<'a> { let content_uri = self.content_uri(content_id); debug!("looking for information at {}...", &content_uri); - let response = self.http_client.get(content_uri.as_str())?; + let response = self.api_request_get(content_uri.as_str())?; let content_raw: Value = serde_json::from_str(response.as_str())?; debug!("found {:?}", &content_raw);