This commit is contained in:
2024-05-06 23:51:05 +02:00
parent 4bbbbb1660
commit c4d09fd7d4
4 changed files with 14 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ where
.await
.unwrap();
let item = &result.hits.get(0).unwrap().result;
let item = &result.hits.first().unwrap().result;
item.get_id()
}