From 2055825debbb7380d4f28377e01d7c31d8c18e08 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 12 Nov 2018 15:18:14 +1300 Subject: Rename maintenances to maintenance --- src/org/traccar/api/resource/MaintenanceResource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/traccar/api/resource') diff --git a/src/org/traccar/api/resource/MaintenanceResource.java b/src/org/traccar/api/resource/MaintenanceResource.java index b3726b429..fa1b359ce 100644 --- a/src/org/traccar/api/resource/MaintenanceResource.java +++ b/src/org/traccar/api/resource/MaintenanceResource.java @@ -24,7 +24,7 @@ import javax.ws.rs.core.MediaType; import org.traccar.api.ExtendedObjectResource; import org.traccar.model.Maintenance; -@Path("maintenances") +@Path("maintenance") @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON) public class MaintenanceResource extends ExtendedObjectResource { -- cgit v1.2.3