Merge branch '7-access-token-expired' into 'master'
use api_request_get in the content fetcher too Closes #7 See merge request !10
This commit is contained in:
commit
1375ad70c9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user