Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Feb 17, 2025
1 parent e39d8d9 commit 21a9c12
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions crates/torii/grpc/src/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -876,10 +876,8 @@ impl DojoWorld {

if !token_ids.is_empty() {
let placeholders = vec!["?"; token_ids.len()].join(", ");
conditions.push(format!(
"SUBSTR(token_id, INSTR(token_id, ':') + 1) IN ({})",
placeholders
));
conditions
.push(format!("SUBSTR(token_id, INSTR(token_id, ':') + 1) IN ({})", placeholders));

Check warning on line 880 in crates/torii/grpc/src/server/mod.rs

View check run for this annotation

Codecov / codecov/patch

crates/torii/grpc/src/server/mod.rs#L879-L880

Added lines #L879 - L880 were not covered by tests
bind_values.extend(token_ids.iter().map(|id| u256_to_sql_string(&(*id).into())));
}

Expand Down

0 comments on commit 21a9c12

Please sign in to comment.