Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
psaiz committed Jun 21, 2023
1 parent c319f30 commit 57c83a1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions invenio_users_resources/administration/views/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class UsersListView(AdminResourceListView):
"""Configuration for users sets list view."""

api_endpoint = "/users"
name = "Users"
name = "users"
resource_config = "users_resource"
title = "User management"
menu_label = "Users"
Expand Down Expand Up @@ -52,15 +52,14 @@ class UsersDetailView(AdminResourceDetailView):
"""Configuration for users sets detail view."""

url = "/users/<pid_value>"
api_endpoint = "/users/<pid_value>"
api_endpoint = "/users/"
search_request_headers = {"Accept": "application/json"}
name = "User details"
resource_config = "users_resource"
title = "User Details"
display_delete = False
display_edit = False

list_view_name = "users"
pid_path = "username"

item_field_list = {
Expand Down

0 comments on commit 57c83a1

Please sign in to comment.