Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Dec 13, 2024
1 parent 70471aa commit 453f072
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions crates/torii/grpc/src/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,13 @@ impl DojoWorld {
}
})
.collect::<Vec<_>>();
let schemas =
self.model_cache.models(&model_ids).await?.into_iter().map(|m| m.schema).collect::<Vec<_>>();
let schemas = self
.model_cache
.models(&model_ids)
.await?
.into_iter()
.map(|m| m.schema)
.collect::<Vec<_>>();
if schemas.is_empty() {
continue;
}
Expand Down

0 comments on commit 453f072

Please sign in to comment.