diff --git a/src/api/rest/gateway.rs b/src/api/rest/gateway.rs index adc7d2a..55e7c87 100644 --- a/src/api/rest/gateway.rs +++ b/src/api/rest/gateway.rs @@ -1,4 +1,4 @@ -use std::time::Duration; +use std::{collections::HashMap, time::Duration}; use chrono::Utc; use color_eyre::{ @@ -282,7 +282,7 @@ impl Gateway { /// Same as [`Gateway::post`], but doesn't require content to be set for the POST request. async fn post_empty(&self, path: &str, content: &T) -> Result<()> { - self.post::<_, String>(path, content).await?; + self.post::<_, Task>(path, content).await?; Ok(()) } }