fixL had bad query
All checks were successful
On_Push / lint_fmt (push) Successful in 32s
On_Push / lint_clippy (push) Successful in 2m2s
On_Push / build (push) Successful in 2m6s
On_Push / deploy (push) Successful in 23s

This commit is contained in:
silver 2025-02-25 17:34:33 +00:00
parent 6481fcb89f
commit b67894fc6e
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D

View file

@ -411,10 +411,11 @@ pub mod verify {
sqlx::query_as::<_, Committees>( sqlx::query_as::<_, Committees>(
r#" r#"
SELECT * SELECT *
committee like '%?1%' FROM committees
WHERE committee LIKE ?1
"#, "#,
) )
.bind(wolves_id) .bind(format!("%{}%", wolves_id))
.fetch_all(db) .fetch_all(db)
.await .await
.unwrap_or_else(|e| { .unwrap_or_else(|e| {