aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/api/resource/ServerResource.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/api/resource/ServerResource.java')
-rw-r--r--src/org/traccar/api/resource/ServerResource.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/api/resource/ServerResource.java b/src/org/traccar/api/resource/ServerResource.java
index 54c04d21b..9e42687ab 100644
--- a/src/org/traccar/api/resource/ServerResource.java
+++ b/src/org/traccar/api/resource/ServerResource.java
@@ -44,6 +44,7 @@ public class ServerResource extends BaseResource {
public Response update(Server entity) throws SQLException {
Context.getPermissionsManager().checkAdmin(getUserId());
Context.getDataManager().updateServer(entity);
+ Context.getPermissionsManager().refresh();
return Response.ok(entity).build();
}