aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/api/resource
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-10-23 06:36:44 +0500
committerAbyss777 <abyss@fox5.ru>2016-10-23 06:36:44 +0500
commit75a86394ec26725cf9460d336c03a3f55a82d599 (patch)
tree8d68ea66854c694ed3db1b7da5c1c3b936d60da0 /src/org/traccar/api/resource
parent9eea2f26f64a3026f61f9deb13d1deac00cddcd6 (diff)
downloadtrackermap-server-75a86394ec26725cf9460d336c03a3f55a82d599.tar.gz
trackermap-server-75a86394ec26725cf9460d336c03a3f55a82d599.tar.bz2
trackermap-server-75a86394ec26725cf9460d336c03a3f55a82d599.zip
Rename API path
Diffstat (limited to 'src/org/traccar/api/resource')
-rw-r--r--src/org/traccar/api/resource/DeviceResource.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/api/resource/DeviceResource.java b/src/org/traccar/api/resource/DeviceResource.java
index 449083cb1..1f65fa041 100644
--- a/src/org/traccar/api/resource/DeviceResource.java
+++ b/src/org/traccar/api/resource/DeviceResource.java
@@ -93,7 +93,7 @@ public class DeviceResource extends BaseResource {
return Response.noContent().build();
}
- @Path("{id}/totaldistance")
+ @Path("{id}/distance")
@PUT
public Response updateTotalDistance(@PathParam("id") long id, DeviceTotalDistance entity) throws SQLException {
Context.getPermissionsManager().checkAdmin(getUserId());