diff --git a/src/http/client.rs b/src/http/client.rs index c5a0d6eb34e..e21d72ff9a3 100644 --- a/src/http/client.rs +++ b/src/http/client.rs @@ -2972,7 +2972,7 @@ impl Http { pub async fn get_channel_archived_public_threads( &self, channel_id: ChannelId, - before: Option, + before: Option, limit: Option, ) -> Result { let mut params = ArrayVec::<_, 2>::new(); @@ -3000,7 +3000,7 @@ impl Http { pub async fn get_channel_archived_private_threads( &self, channel_id: ChannelId, - before: Option, + before: Option, limit: Option, ) -> Result { let mut params = ArrayVec::<_, 2>::new(); @@ -3028,7 +3028,7 @@ impl Http { pub async fn get_channel_joined_archived_private_threads( &self, channel_id: ChannelId, - before: Option, + before: Option, limit: Option, ) -> Result { let mut params = ArrayVec::<_, 2>::new(); diff --git a/src/model/channel/channel_id.rs b/src/model/channel/channel_id.rs index ff77242ac6e..8b0a4ff7789 100644 --- a/src/model/channel/channel_id.rs +++ b/src/model/channel/channel_id.rs @@ -1032,7 +1032,7 @@ impl ChannelId { pub async fn get_archived_private_threads( self, http: impl AsRef, - before: Option, + before: Option, limit: Option, ) -> Result { http.as_ref().get_channel_archived_private_threads(self, before, limit).await @@ -1046,7 +1046,7 @@ impl ChannelId { pub async fn get_archived_public_threads( self, http: impl AsRef, - before: Option, + before: Option, limit: Option, ) -> Result { http.as_ref().get_channel_archived_public_threads(self, before, limit).await @@ -1060,7 +1060,7 @@ impl ChannelId { pub async fn get_joined_archived_private_threads( self, http: impl AsRef, - before: Option, + before: Option, limit: Option, ) -> Result { http.as_ref().get_channel_joined_archived_private_threads(self, before, limit).await