aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/api/resource/AttributeAliasResource.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-19 10:53:31 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-11-19 10:53:46 +1300
commitf14c747e1dd04ad5514f9cff07ea2e5be0312683 (patch)
tree978253b934ecac4489bd852ae5cf429cd54378ce /src/org/traccar/api/resource/AttributeAliasResource.java
parent387439f2e28058bbaa1695055bfaffd4b9e42560 (diff)
downloadtrackermap-server-f14c747e1dd04ad5514f9cff07ea2e5be0312683.tar.gz
trackermap-server-f14c747e1dd04ad5514f9cff07ea2e5be0312683.tar.bz2
trackermap-server-f14c747e1dd04ad5514f9cff07ea2e5be0312683.zip
Remove duplicated information in requests
Diffstat (limited to 'src/org/traccar/api/resource/AttributeAliasResource.java')
-rw-r--r--src/org/traccar/api/resource/AttributeAliasResource.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/api/resource/AttributeAliasResource.java b/src/org/traccar/api/resource/AttributeAliasResource.java
index 9e01432d3..db767616f 100644
--- a/src/org/traccar/api/resource/AttributeAliasResource.java
+++ b/src/org/traccar/api/resource/AttributeAliasResource.java
@@ -64,7 +64,7 @@ public class AttributeAliasResource extends BaseResource {
@Path("{id}")
@PUT
- public Response update(@PathParam("id") long id, AttributeAlias entity) throws SQLException {
+ public Response update(AttributeAlias entity) throws SQLException {
Context.getPermissionsManager().checkReadonly(getUserId());
if (!Context.getPermissionsManager().isAdmin(getUserId())) {
AttributeAlias oldEntity = Context.getAliasesManager().getAttributeAlias(entity.getId());