Compare commits

..

No commits in common. "f1868cd30073c0a4e7411ebd8b0e4138aa1c3935" and "1d8c0d5fc2a1564796e12a46c04de3cb6dcce4ea" have entirely different histories.

1 changed files with 0 additions and 2 deletions

View File

@ -37,7 +37,6 @@ impl Requester {
pub async fn get_conferences(&self) -> anyhow::Result<Value> { pub async fn get_conferences(&self) -> anyhow::Result<Value> {
let url = format!("{}{}", self.base, *CONFERENCES_ENDPOINT); let url = format!("{}{}", self.base, *CONFERENCES_ENDPOINT);
let req = self.client.get(url) let req = self.client.get(url)
.timeout(tokio::time::Duration::from_secs(10))
.header("accept", "application/json") .header("accept", "application/json")
.header("x-api-key", &self.api_key); .header("x-api-key", &self.api_key);
let resp = req.send().await; let resp = req.send().await;
@ -84,7 +83,6 @@ impl Requester {
for conf in conferences { for conf in conferences {
let url = format!("{}{}{}", self.base, *USERS_ENDPOINT, &conf.1); let url = format!("{}{}{}", self.base, *USERS_ENDPOINT, &conf.1);
let req = self.client.get(url) let req = self.client.get(url)
.timeout(tokio::time::Duration::from_secs(10))
.header("accept", "application/json") .header("accept", "application/json")
.header("x-api-key", &self.api_key); .header("x-api-key", &self.api_key);