Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deepbook Summary Endpoint #20536

Merged
merged 11 commits into from
Dec 9, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
quote asset default
  • Loading branch information
leecchh committed Dec 6, 2024
commit 8f9ecc35c7a5976cf9273d380b61ce1a9e53b6cd
4 changes: 2 additions & 2 deletions crates/sui-deepbook-indexer/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ async fn get_historical_volume_by_balance_manager_id(
let volume_in_base = params
.get("volume_in_base")
.map(|v| v == "true")
.unwrap_or(true);
.unwrap_or(false);
let column_to_query = if volume_in_base {
sql::<diesel::sql_types::BigInt>("base_quantity")
} else {
Expand Down Expand Up @@ -333,7 +333,7 @@ async fn get_historical_volume_by_balance_manager_id_with_interval(
let volume_in_base = params
.get("volume_in_base")
.map(|v| v == "true")
.unwrap_or(true);
.unwrap_or(false);
let column_to_query = if volume_in_base {
sql::<diesel::sql_types::BigInt>("base_quantity")
} else {
Expand Down
Loading