aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-01-31 05:38:32 +1300
committerGitHub <noreply@github.com>2018-01-31 05:38:32 +1300
commit9d4e735f180576098900b373fff06bc661309592 (patch)
treec154d53c4476f4bff1117a89c4ea593be1004d6b /src/org/traccar
parentce1212355723b342106f9b97a1ac15fd3c344621 (diff)
parentf778b61390e3580d49959eaa3c3ffb899d20417b (diff)
downloadtrackermap-server-9d4e735f180576098900b373fff06bc661309592.tar.gz
trackermap-server-9d4e735f180576098900b373fff06bc661309592.tar.bz2
trackermap-server-9d4e735f180576098900b373fff06bc661309592.zip
Merge pull request #3744 from NateZ7/master
Added status arg
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/WebDataHandler.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/WebDataHandler.java b/src/org/traccar/WebDataHandler.java
index c64dcc81b..401216276 100644
--- a/src/org/traccar/WebDataHandler.java
+++ b/src/org/traccar/WebDataHandler.java
@@ -80,6 +80,7 @@ public class WebDataHandler extends BaseDataHandler {
String request = url
.replace("{name}", device.getName())
.replace("{uniqueId}", device.getUniqueId())
+ .replace("{status}", device.getStatus())
.replace("{deviceId}", String.valueOf(position.getDeviceId()))
.replace("{protocol}", String.valueOf(position.getProtocol()))
.replace("{deviceTime}", String.valueOf(position.getDeviceTime().getTime()))