Fixed typo in path for endpoints

Jens Pelzetter 2020-08-02 11:40:39 +02:00
parent d51a0d04fe
commit bffe5ca549
1 changed files with 2 additions and 2 deletions

View File

@ -297,7 +297,7 @@ public class GroupsApi {
}
@PUT
@Path("/{groupIdentifier}/groups/{roleIdentifier}")
@Path("/{groupIdentifier}/roles/{roleIdentifier}")
@AuthorizationRequired
@RequiresPrivilege(CoreConstants.PRIVILEGE_ADMIN)
@Transactional(Transactional.TxType.REQUIRED)
@ -325,7 +325,7 @@ public class GroupsApi {
}
@DELETE
@Path("/{groupIdentifier}/groups/{roleIdentifier}")
@Path("/{groupIdentifier}/roles/{roleIdentifier}")
@AuthorizationRequired
@RequiresPrivilege(CoreConstants.PRIVILEGE_ADMIN)
@Transactional(Transactional.TxType.REQUIRED)