Fix API modification issue

rm-10378
Pramila Niroshan 11 months ago
parent 8d2207667c
commit 5a4e7c0300

@ -40,7 +40,8 @@ public class DeviceStatusFilterServiceImpl implements DeviceStatusFilterService
@Override
@GET
public Response getDeviceStatusFilters(@QueryParam("deviceType") String deviceType) {
@Path("/{deviceType}")
public Response getDeviceStatusFilters(@PathParam("deviceType") String deviceType) {
List<String> result;
int tenantId = CarbonContext.getThreadLocalCarbonContext().getTenantId();
try {
@ -76,7 +77,7 @@ public class DeviceStatusFilterServiceImpl implements DeviceStatusFilterService
@Override
@PUT
@Path("/is-enabled")
@Path("/toggle-device-status")
public Response updateDeviceStatusCheck(
@QueryParam("isEnabled")
boolean isEnabled) {

Loading…
Cancel
Save