fixL had bad query
This commit is contained in:
parent
6481fcb89f
commit
b67894fc6e
1 changed files with 3 additions and 2 deletions
|
@ -411,10 +411,11 @@ pub mod verify {
|
|||
sqlx::query_as::<_, Committees>(
|
||||
r#"
|
||||
SELECT *
|
||||
committee like '%?1%'
|
||||
FROM committees
|
||||
WHERE committee LIKE ?1
|
||||
"#,
|
||||
)
|
||||
.bind(wolves_id)
|
||||
.bind(format!("%{}%", wolves_id))
|
||||
.fetch_all(db)
|
||||
.await
|
||||
.unwrap_or_else(|e| {
|
||||
|
|
Loading…
Add table
Reference in a new issue