Ticket #362: Changed url to be a bit more semantic.
This commit is contained in:
1 parent
64e56dc9ab
commit
82413b2103
1 file changed
+1
-1
+1
-1
@@ -143,7 +143,7 @@ public class PermissionRESTService {
|
||||
* @param permission The permission to remove for the user with the given userID.
|
||||
*/
|
||||
@POST
|
||||
@Path("/{userID}/remove")
|
||||
@Path("/remove{userID}/")
|
||||
public void removePermission(@QueryParam("token") String authToken,
|
||||
@PathParam("userID") String userID, APIPermission permission) {
|
||||
UserContext userContext = authenticationService.getUserContextFromAuthToken(authToken);
|
||||
|
||||
Reference in new issue
Block a user