diff options
author | NateZ7 <33479378+NateZ7@users.noreply.github.com> | 2018-01-30 14:01:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-30 14:01:45 +0200 |
commit | f778b61390e3580d49959eaa3c3ffb899d20417b (patch) | |
tree | c154d53c4476f4bff1117a89c4ea593be1004d6b | |
parent | ce1212355723b342106f9b97a1ac15fd3c344621 (diff) | |
download | traccar-server-f778b61390e3580d49959eaa3c3ffb899d20417b.tar.gz traccar-server-f778b61390e3580d49959eaa3c3ffb899d20417b.tar.bz2 traccar-server-f778b61390e3580d49959eaa3c3ffb899d20417b.zip |
Added status arg
-rw-r--r-- | src/org/traccar/WebDataHandler.java | 1 |
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())) |