Also use String on public fn

This commit is contained in:
Leon Grünewald 2024-01-01 21:50:57 +01:00
parent feb247b976
commit ddba5b2bb0

View file

@ -69,7 +69,7 @@ impl<'a> Client<'a> {
pub async fn list_posts(
&mut self,
limit: Option<u16>,
tags: Option<Vec<String>>,
tags: Option<String>,
page: Option<u32>,
) -> Result<Vec<Post>> {
let res = self.list_posts_raw(limit, tags, page).await?;