aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/api
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-11-12 15:18:14 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-11-12 15:18:14 +1300
commit2055825debbb7380d4f28377e01d7c31d8c18e08 (patch)
treea0d5666b7dc54f48f76754ed33eb2c9cae3346d9 /src/org/traccar/api
parentcad845deb903fa84549845246f12927b46709e16 (diff)
downloadtrackermap-server-2055825debbb7380d4f28377e01d7c31d8c18e08.tar.gz
trackermap-server-2055825debbb7380d4f28377e01d7c31d8c18e08.tar.bz2
trackermap-server-2055825debbb7380d4f28377e01d7c31d8c18e08.zip
Rename maintenances to maintenance
Diffstat (limited to 'src/org/traccar/api')
-rw-r--r--src/org/traccar/api/resource/MaintenanceResource.java2
1 files changed, 1 insertions, 1 deletions
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<Maintenance> {