securis/src/main/java/net/curisit/securis/services/PackResource.java
.. .. @@ -74,7 +74,7 @@ 74 74 @Inject MetadataHelper metadataHelper; 75 75 @Inject private LicenseHelper licenseHelper; 76 76 77 - @Context EntityManager em;77 + @Inject EntityManager em;78 78 79 79 /** 80 80 * index .. .. @@ -310,7 +310,7 @@ 310 310 * @throws SeCurisServiceException on invalid state. 311 311 */ 312 312 @POST 313 - @Path("/{packId}/putonhold}")313 + @Path("/{packId}/putonhold")314 314 @EnsureTransaction 315 315 @Securable(roles = Rol.ADMIN | Rol.ADVANCE) 316 316 @RolesAllowed(BasicSecurityContext.ROL_ADMIN)