Skip to content

Commit

Permalink
update get_price api
Browse files Browse the repository at this point in the history
  • Loading branch information
canonbrother committed Dec 19, 2024
1 parent d5ded95 commit 9934c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ain-ocean/src/api/prices.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ async fn get_price(
};
let price_ticker = price_repo.by_id.get(&sort_key)?;

let Some((_, price_ticker)) = price_ticker else {
let Some(price_ticker) = price_ticker else {
return Ok(Response::new(None));
};

Expand Down

0 comments on commit 9934c5b

Please sign in to comment.