Skip to content

Commit

Permalink
Update mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo authored Nov 28, 2024
1 parent c7a3708 commit d4ecbb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/torii/grpc/src/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,8 @@ impl DojoWorld {
.model(&Felt::from_str(&model_id).map_err(ParseError::FromStr)?)
.await?;
let mut schema = model.schema;
schema
.from_json_value(serde_json::from_str(&data).map_err(ParseError::FromJsonStr)?)?;
schema
.from_json_value(serde_json::from_str(&data).map_err(ParseError::FromJsonStr)?)?;

let entity = entities
.entry(id)
Expand Down

0 comments on commit d4ecbb9

Please sign in to comment.