Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
karatakis committed Nov 10, 2022
1 parent 3d5e069 commit 81fdaba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -589,13 +589,13 @@ where
use heck::ToSnakeCase;
use sea_orm::prelude::*;

let filters = if keys.len() > 0 {
let filters = if !keys.is_empty() {
keys[0].clone().1
} else {
None
};

let order_by = if keys.len() > 0 {
let order_by = if !keys.is_empty() {
keys[0].clone().2
} else {
None
Expand Down

0 comments on commit 81fdaba

Please sign in to comment.