Skip to content

Commit

Permalink
fix(torii): use correct query_type
Browse files Browse the repository at this point in the history
commit-id:8493d130
  • Loading branch information
lambda-0x committed Sep 25, 2024
1 parent 8453b63 commit 8b51500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/torii/core/src/sql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ impl Sql {
Argument::String(event_id.to_string()),
Argument::String(utc_dt_string_from_timestamp(block_timestamp)),
],
QueryType::Other,
QueryType::EventMessage(entity.clone()),
);
self.query_queue.enqueue(
"INSERT INTO event_model (entity_id, model_id) VALUES (?, ?) ON CONFLICT(entity_id, \
Expand Down

0 comments on commit 8b51500

Please sign in to comment.