Skip to content

Commit 006bdb4

Browse files
committed
chore(examples): use search function instead of extended_search
fuck my own ci...
1 parent f378ebc commit 006bdb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/search.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use modrinth_api::{Error, ModrinthAPI};
55
async fn main() -> Result<(), Error> {
66
let api = ModrinthAPI::default();
77
let result = api
8-
.extended_search(
8+
.search(
99
"xaeros", // Query
1010
&Sort::Downloads, // Sort
1111
Some(20), // Maximum number of results to return.

0 commit comments

Comments
 (0)