mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 10:21:14 -05:00
Fix url for user service permissions.
This commit is contained in:
@@ -166,7 +166,7 @@ def get_user(user_id=None):
|
||||
return jsonify(data=result.data)
|
||||
|
||||
|
||||
@user.route('/<int:user_id>/<service_id>/permission', methods=['POST'])
|
||||
@user.route('/<int:user_id>/service/<service_id>/permission', methods=['POST'])
|
||||
def set_permissions(user_id, service_id):
|
||||
# TODO fix security hole, how do we verify that the user
|
||||
# who is making this request has permission to make the request.
|
||||
|
||||
Reference in New Issue
Block a user