aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-11-12 22:13:53 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-11-12 22:13:53 -0800
commit1c50aac08aa0379cbc4685e95304db77a8401f53 (patch)
tree32fbe56a749fc03d8b96d6db7268679c8787d431 /src
parent10b9e830216f2c25c77ae2f7e33832b6632fdbb1 (diff)
downloadtrackermap-server-1c50aac08aa0379cbc4685e95304db77a8401f53.tar.gz
trackermap-server-1c50aac08aa0379cbc4685e95304db77a8401f53.tar.bz2
trackermap-server-1c50aac08aa0379cbc4685e95304db77a8401f53.zip
Fix naming
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/traccar/api/BaseObjectResource.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/api/BaseObjectResource.java b/src/main/java/org/traccar/api/BaseObjectResource.java
index bc7d3c466..50251e7b4 100644
--- a/src/main/java/org/traccar/api/BaseObjectResource.java
+++ b/src/main/java/org/traccar/api/BaseObjectResource.java
@@ -75,7 +75,7 @@ public abstract class BaseObjectResource<T extends BaseModel> extends BaseResour
@Path("{id}")
@GET
- public Response add(@PathParam("id") long id) throws SQLException {
+ public Response get(@PathParam("id") long id) throws SQLException {
Context.getPermissionsManager().checkPermission(baseClass, getUserId(), id);
BaseObjectManager<T> manager = Context.getManager(baseClass);
T entity = manager.getById(id);