aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNateZ7 <33479378+NateZ7@users.noreply.github.com>2018-01-30 14:01:45 +0200
committerGitHub <noreply@github.com>2018-01-30 14:01:45 +0200
commitf778b61390e3580d49959eaa3c3ffb899d20417b (patch)
treec154d53c4476f4bff1117a89c4ea593be1004d6b /src
parentce1212355723b342106f9b97a1ac15fd3c344621 (diff)
downloadtraccar-server-f778b61390e3580d49959eaa3c3ffb899d20417b.tar.gz
traccar-server-f778b61390e3580d49959eaa3c3ffb899d20417b.tar.bz2
traccar-server-f778b61390e3580d49959eaa3c3ffb899d20417b.zip
Added status arg
Diffstat (limited to 'src')
-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()))