Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Sep 16, 2024
1 parent 543f3cc commit 59102ad
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 @@ -149,8 +149,8 @@ impl Sql {
unpacked_size: u32,
block_timestamp: u64,
) -> Result<()> {
let selector = compute_selector_from_names(namespace, &model.name());
let namespaced_name = format!("{}-{}", namespace, model.name());
let selector = compute_selector_from_names(namespace, &namespaced_name);

let insert_models =
"INSERT INTO models (id, namespace, name, class_hash, contract_address, layout, \
Expand Down

0 comments on commit 59102ad

Please sign in to comment.