mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-24 23:09:46 +03:00
Fixed another type
This commit is contained in:
parent
6b59a86def
commit
2feb62f597
|
@ -75,7 +75,7 @@ def fetch_users_from_database(args):
|
||||||
sort_key = args.get('sortKey', None)
|
sort_key = args.get('sortKey', None)
|
||||||
sort_direction = args.get('sortDirection', None)
|
sort_direction = args.get('sortDirection', None)
|
||||||
reversed = False
|
reversed = False
|
||||||
if sort_directon and sort_directon == 'DESC':
|
if sort_direction and sort_direction == 'DESC':
|
||||||
reversed = True
|
reversed = True
|
||||||
|
|
||||||
filtered_users = [user for user in USER_DATA if full_name is None or full_name in
|
filtered_users = [user for user in USER_DATA if full_name is None or full_name in
|
||||||
|
|
Loading…
Reference in New Issue
Block a user