Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add order query for user list #556

Merged
merged 4 commits into from
Feb 7, 2023
Merged

Conversation

FreddyDevelop
Copy link
Contributor

Description

Add order query parameter to the list user admin endpoint to control the order of the returned list.
The list is ordered by created_at, default = desc

Implementation

Added the order query parameter and set default value to desc

Tests

Call the list user endpoint in the admin API and add the order query param and check the result.

@FreddyDevelop FreddyDevelop merged commit 429b6d4 into main Feb 7, 2023
@FreddyDevelop FreddyDevelop deleted the feat-admin-users-order branch February 7, 2023 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants