Compare commits
No commits in common. "cf2fa453dbdf6897663295d3871f9fa316704df5" and "cd7a7c5c82bc8748e87681d317798e0aa80c07b0" have entirely different histories.
cf2fa453db
...
cd7a7c5c82
|
|
@ -37,7 +37,6 @@ impl Requester {
|
|||
pub async fn get_conferences(&self) -> anyhow::Result<Value> {
|
||||
let url = format!("{}{}", self.base, *CONFERENCES_ENDPOINT);
|
||||
let req = self.client.get(url)
|
||||
.timeout(tokio::time::Duration::from_secs(10))
|
||||
.header("accept", "application/json")
|
||||
.header("x-api-key", &self.api_key);
|
||||
let resp = req.send().await;
|
||||
|
|
@ -84,7 +83,6 @@ impl Requester {
|
|||
for conf in conferences {
|
||||
let url = format!("{}{}{}", self.base, *USERS_ENDPOINT, &conf.1);
|
||||
let req = self.client.get(url)
|
||||
.timeout(tokio::time::Duration::from_secs(10))
|
||||
.header("accept", "application/json")
|
||||
.header("x-api-key", &self.api_key);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue