Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
bragov4ik committed Dec 24, 2024
1 parent e2632cd commit 93cc19e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions stats/stats/src/charts/db_interaction/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ pub fn interval_24h_filter(
) -> SimpleExpr {
Expr::cust_with_exprs(
"$1 - $2 at time zone 'UTC' <= interval '24 hours'",
[
Expr::value(filter_24h_until.clone()),
timestamp_expr.clone(),
],
[Expr::value(filter_24h_until), timestamp_expr.clone()],
)
.and(Expr::cust_with_exprs(
"$1 - $2 at time zone 'UTC' >= interval '0 hours'",
Expand Down

0 comments on commit 93cc19e

Please sign in to comment.