Skip to content

Commit

Permalink
hotfix: Do inner join not to include nullable quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
m-lord-renkse committed Mar 5, 2024
1 parent 3cda785 commit b458238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/database/src/orders.rs
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ pub async fn user_orders_with_quote(
" o.fee_amount as order_fee_amount, o_quotes.gas_amount as quote_gas_amount,",
" o_quotes.gas_price as quote_gas_price, o_quotes.sell_token_price as quote_sell_token_price",
" FROM order_quotes o_quotes",
" LEFT JOIN (",
" INNER JOIN (",
" SELECT *",
" FROM (", OPEN_ORDERS,
" AND owner = $2",
Expand Down

0 comments on commit b458238

Please sign in to comment.