mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-18 07:01:46 -05:00
Fix the user url.
Add test for authentication to test paths with path params
This commit is contained in:
@@ -71,7 +71,7 @@ def verify_user_password(user_id):
|
||||
|
||||
|
||||
@user.route('/<int:user_id>', methods=['GET'])
|
||||
@user.route('/', methods=['GET'])
|
||||
@user.route('', methods=['GET'])
|
||||
def get_user(user_id=None):
|
||||
try:
|
||||
users = get_model_users(user_id=user_id)
|
||||
|
||||
Reference in New Issue
Block a user