diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-11-12 22:13:53 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-11-12 22:13:53 -0800 |
commit | 1c50aac08aa0379cbc4685e95304db77a8401f53 (patch) | |
tree | 32fbe56a749fc03d8b96d6db7268679c8787d431 | |
parent | 10b9e830216f2c25c77ae2f7e33832b6632fdbb1 (diff) | |
download | trackermap-server-1c50aac08aa0379cbc4685e95304db77a8401f53.tar.gz trackermap-server-1c50aac08aa0379cbc4685e95304db77a8401f53.tar.bz2 trackermap-server-1c50aac08aa0379cbc4685e95304db77a8401f53.zip |
Fix naming
-rw-r--r-- | src/main/java/org/traccar/api/BaseObjectResource.java | 2 |
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); |