Skip to content

Commit

Permalink
fix: fix get_withdrawals query (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
montekki authored Sep 29, 2023
1 parent 14ffa1a commit c3c8bee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion storage/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ pub async fn get_withdrawals(pool: &PgPool, ids: &[i64]) -> Result<Vec<StoredWit
"
SELECT * FROM
withdrawals
WHERE id in (SELECT id FROM unnest( $1 :: bigint[] ))
WHERE id in (SELECT * FROM unnest( $1 :: bigint[] ))
",
ids
)
Expand Down

0 comments on commit c3c8bee

Please sign in to comment.