Skip to content

Commit ccffddf

Browse files
authored
fix: remove leftover unwrap (#685)
1 parent c205742 commit ccffddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/api/src/client.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pub async fn search(
2929
search.limit = Some(max_items.try_into()?);
3030
}
3131
}
32-
let stream = client.search(search).await.unwrap();
32+
let stream = client.search(search).await?;
3333
let mut items = if let Some(max_items) = max_items {
3434
if max_items == 0 {
3535
return Ok(ItemCollection::default());

0 commit comments

Comments
 (0)