Add missing pub

This commit is contained in:
Leon Grünewald 2024-01-03 16:04:27 +01:00
parent d01220080f
commit f7aa425abf

View file

@ -109,7 +109,7 @@ impl Client {
/// let post = esix_client.get_post(1337).await?; /// let post = esix_client.get_post(1337).await?;
///} ///}
/// ``` /// ```
async fn get_post(&mut self, post_id: Id) -> Result<Post> { pub async fn get_post(&mut self, post_id: Id) -> Result<Post> {
self.request_limiter().await; self.request_limiter().await;
let res = self.get_post_raw(post_id).await?; let res = self.get_post_raw(post_id).await?;
let text = res.text().await?; let text = res.text().await?;