Also use String on public fn
This commit is contained in:
parent
feb247b976
commit
ddba5b2bb0
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ impl<'a> Client<'a> {
|
||||||
pub async fn list_posts(
|
pub async fn list_posts(
|
||||||
&mut self,
|
&mut self,
|
||||||
limit: Option<u16>,
|
limit: Option<u16>,
|
||||||
tags: Option<Vec<String>>,
|
tags: Option<String>,
|
||||||
page: Option<u32>,
|
page: Option<u32>,
|
||||||
) -> Result<Vec<Post>> {
|
) -> Result<Vec<Post>> {
|
||||||
let res = self.list_posts_raw(limit, tags, page).await?;
|
let res = self.list_posts_raw(limit, tags, page).await?;
|
||||||
|
|
Loading…
Reference in a new issue