diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-18 11:44:40 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-18 11:44:40 -0700 |
commit | 03b50c61afd7c9d7e19a76feb261147dd0f69588 (patch) | |
tree | 575f1737e3006c66844c1fa9e06a3323bac7746c /src/main/java/org/traccar/api | |
parent | ddbe4d7de6ae7590e2b927066312597efa129393 (diff) | |
download | trackermap-server-03b50c61afd7c9d7e19a76feb261147dd0f69588.tar.gz trackermap-server-03b50c61afd7c9d7e19a76feb261147dd0f69588.tar.bz2 trackermap-server-03b50c61afd7c9d7e19a76feb261147dd0f69588.zip |
Remove identity manager
Diffstat (limited to 'src/main/java/org/traccar/api')
-rw-r--r-- | src/main/java/org/traccar/api/resource/AttributeResource.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/org/traccar/api/resource/AttributeResource.java b/src/main/java/org/traccar/api/resource/AttributeResource.java index 43d8a7ccd..fb74b9bbe 100644 --- a/src/main/java/org/traccar/api/resource/AttributeResource.java +++ b/src/main/java/org/traccar/api/resource/AttributeResource.java @@ -28,7 +28,6 @@ import javax.ws.rs.QueryParam; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; -import org.traccar.Context; import org.traccar.api.ExtendedObjectResource; import org.traccar.config.Config; import org.traccar.model.Attribute; @@ -62,8 +61,7 @@ public class AttributeResource extends ExtendedObjectResource<Attribute> { new Columns.All(), new Condition.LatestPositions(deviceId))); - Object result = new ComputedAttributesHandler(config, Context.getIdentityManager(), null) - .computeAttribute(entity, position); + Object result = new ComputedAttributesHandler(config, null).computeAttribute(entity, position); if (result != null) { switch (entity.getType()) { case "number": |