aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/DefaultDataHandler.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/DefaultDataHandler.java')
-rw-r--r--src/org/traccar/DefaultDataHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/DefaultDataHandler.java b/src/org/traccar/DefaultDataHandler.java
index e32fe0e7d..1ac3efc77 100644
--- a/src/org/traccar/DefaultDataHandler.java
+++ b/src/org/traccar/DefaultDataHandler.java
@@ -24,7 +24,7 @@ public class DefaultDataHandler extends BaseDataHandler {
protected Position handlePosition(Position position) {
try {
- Context.getDataManager().addPosition(position);
+ Context.getDataManager().addObject(position);
} catch (Exception error) {
Log.warning(error);
}