Add missing pub
This commit is contained in:
parent
d01220080f
commit
f7aa425abf
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ impl Client {
|
|||
/// 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;
|
||||
let res = self.get_post_raw(post_id).await?;
|
||||
let text = res.text().await?;
|
||||
|
|
Loading…
Reference in a new issue