This commit is contained in:
2023-08-29 21:34:01 +02:00
parent 5eee5309ad
commit ce17b74cbf
3 changed files with 10 additions and 12 deletions

View File

@@ -29,7 +29,7 @@ impl Inventory {
.collect::<Result<Vec<Category>, Error>>()?;
for category in &mut categories {
category.populate_items(&ctx, &pool).await?;
category.populate_items(ctx, pool).await?;
}
Ok(Self { categories })