Prepending the url template configured for updating notifications with a '/'

4.x.x
prabathabey 8 years ago
parent 78057b2992
commit 0125310440

@ -125,7 +125,7 @@ public interface NotificationManagementService {
int limit); int limit);
@PUT @PUT
@Path("{id}/mark-checked") @Path("/{id}/mark-checked")
@ApiOperation( @ApiOperation(
produces = MediaType.APPLICATION_JSON, produces = MediaType.APPLICATION_JSON,
httpMethod = "PUT", httpMethod = "PUT",

@ -76,7 +76,7 @@ public class NotificationManagementServiceImpl implements NotificationManagement
} }
@PUT @PUT
@Path("{id}/mark-checked") @Path("/{id}/mark-checked")
public Response updateNotificationStatus( public Response updateNotificationStatus(
@PathParam("id") int id) { @PathParam("id") int id) {
String msg; String msg;

Loading…
Cancel
Save