diff options
author | Abyss777 <abyss@fox5.ru> | 2017-07-21 18:41:49 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-07-21 18:41:49 +0500 |
commit | 69c46399ee0f6b3dd2b0589cb412e9e17f040369 (patch) | |
tree | 4d838e7c52df78acaae804eaa08911825edc0acd /src/org/traccar/api/resource/GroupResource.java | |
parent | 55d91ec7a86777bb0427422c15c2b8a60aa00071 (diff) | |
download | trackermap-server-69c46399ee0f6b3dd2b0589cb412e9e17f040369.tar.gz trackermap-server-69c46399ee0f6b3dd2b0589cb412e9e17f040369.tar.bz2 trackermap-server-69c46399ee0f6b3dd2b0589cb412e9e17f040369.zip |
Use classes instead of constants everywhere
Diffstat (limited to 'src/org/traccar/api/resource/GroupResource.java')
-rw-r--r-- | src/org/traccar/api/resource/GroupResource.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/api/resource/GroupResource.java b/src/org/traccar/api/resource/GroupResource.java index 5d575ebfe..2ecd11fe5 100644 --- a/src/org/traccar/api/resource/GroupResource.java +++ b/src/org/traccar/api/resource/GroupResource.java @@ -61,7 +61,7 @@ public class GroupResource extends BaseResource { public Response add(Group entity) throws SQLException { Context.getPermissionsManager().checkReadonly(getUserId()); Context.getDeviceManager().addGroup(entity); - linkNew(entity); + linkNewEntity(entity); Context.getPermissionsManager().refreshPermissions(); Context.getPermissionsManager().refreshAllExtendedPermissions(); return Response.ok(entity).build(); |