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

This commit is contained in:
prabathabey 2016-07-05 15:39:50 +05:30
parent 78057b2992
commit 0125310440
2 changed files with 2 additions and 2 deletions

View File

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

View File

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