Skip to content

Commit

Permalink
v8
Browse files Browse the repository at this point in the history
  • Loading branch information
f3ath committed Jul 2, 2024
1 parent 9969981 commit 31b850f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/query/sort.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ class Sort with IterableMixin<SortField> implements QueryEncodable {
_.addAll(fields.map((SortField.parse)));
}

static Sort fromUri(Uri uri) =>
Sort((uri.queryParametersAll['sort']?.expand((_) => _.split(',')) ?? []));
static Sort fromUri(Uri uri) => Sort(
(uri.queryParametersAll['sort']?.expand((it) => it.split(',')) ?? []));

final _ = <SortField>[];

Expand Down

0 comments on commit 31b850f

Please sign in to comment.