From c80753bb75cdfb3abed0bb763731731592faf2e4 Mon Sep 17 00:00:00 2001 From: Nicholas Staples Date: Thu, 3 Mar 2016 09:59:21 +0000 Subject: [PATCH] Fix url for user service permissions. --- app/user/rest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/user/rest.py b/app/user/rest.py index f1c584b69..9977410db 100644 --- a/app/user/rest.py +++ b/app/user/rest.py @@ -166,7 +166,7 @@ def get_user(user_id=None): return jsonify(data=result.data) -@user.route('///permission', methods=['POST']) +@user.route('//service//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.