Skip to content

Commit

Permalink
#18: Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranjprice101 committed Aug 15, 2019
1 parent a9fb2fa commit b2d2750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/database_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def get_query_filter(filter):
value = filter[filter_name][field][operation]
return WhereFilter(field, value, operation)
elif filter_name == "order":
field = filter_name["order"].split(" ")[0]
field = filter["order"].split(" ")[0]
direction = filter["order"].split(" ")[1]
return OrderFilter(field, direction)
elif filter_name == "skip":
Expand Down

0 comments on commit b2d2750

Please sign in to comment.