Skip to content

Commit

Permalink
revert change to show it failed before
Browse files Browse the repository at this point in the history
  • Loading branch information
dsschult committed Jan 5, 2024
1 parent eca6d2e commit a481566
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user_mgmt/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def create_server():
server.add_route(r'/api/experiments/(?P<experiment>[\w\-]+)/institutions', MultiInstitutions, kwargs)
server.add_route(r'/api/experiments/(?P<experiment>[\w\-]+)/institutions/(?P<institution>[\w\-]+)', Institution, kwargs)
server.add_route(r'/api/experiments/(?P<experiment>[\w\-]+)/institutions/(?P<institution>[\w\-]+)/users', InstitutionMultiUsers, kwargs)
server.add_route(r'/api/experiments/(?P<experiment>[\w\-]+)/institutions/(?P<institution>[\w\-]+)/users/(?P<username>[\w\-\._]+)', InstitutionUser, kwargs)
server.add_route(r'/api/experiments/(?P<experiment>[\w\-]+)/institutions/(?P<institution>[\w\-]+)/users/(?P<username>[\w\-]+)', InstitutionUser, kwargs)

server.add_route('/api/inst_approvals', InstApprovals, kwargs)
server.add_route(r'/api/inst_approvals/(?P<approval_id>\w+)/actions/approve', InstApprovalsActionApprove, kwargs)
Expand All @@ -112,7 +112,7 @@ def create_server():
server.add_route(r'/api/group_approvals/(?P<approval_id>\w+)/actions/deny', GroupApprovalsActionDeny, kwargs)

server.add_route(r'/api/users', MultiUser, kwargs)
server.add_route(r'/api/users/(?P<username>[\w\-\._]+)', User, kwargs)
server.add_route(r'/api/users/(?P<username>[\w\-]+)', User, kwargs)
server.add_route('/api/username', Username, kwargs)
server.add_route(r'/api/experiments/(?P<experiment>[\w\-]+)/associates', AssociateUsers, kwargs)

Expand Down

0 comments on commit a481566

Please sign in to comment.