diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-01-31 05:38:32 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-31 05:38:32 +1300 |
commit | 9d4e735f180576098900b373fff06bc661309592 (patch) | |
tree | c154d53c4476f4bff1117a89c4ea593be1004d6b | |
parent | ce1212355723b342106f9b97a1ac15fd3c344621 (diff) | |
parent | f778b61390e3580d49959eaa3c3ffb899d20417b (diff) | |
download | trackermap-server-9d4e735f180576098900b373fff06bc661309592.tar.gz trackermap-server-9d4e735f180576098900b373fff06bc661309592.tar.bz2 trackermap-server-9d4e735f180576098900b373fff06bc661309592.zip |
Merge pull request #3744 from NateZ7/master
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())) |