diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-04-03 23:07:29 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-04-03 23:07:29 +1200 |
commit | d71da7263744e0f42e8ccdd490597dae5a542cd8 (patch) | |
tree | 06af8f9eabe3a838b2b2f022358d22db9303172d | |
parent | 72dc597437b0377fb060ef8d26aba404c62e73e2 (diff) | |
download | traccar-server-d71da7263744e0f42e8ccdd490597dae5a542cd8.tar.gz traccar-server-d71da7263744e0f42e8ccdd490597dae5a542cd8.tar.bz2 traccar-server-d71da7263744e0f42e8ccdd490597dae5a542cd8.zip |
Add name to forwarding handler (fix #1848)
-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 cc60af248..7f241b3d9 100644 --- a/src/org/traccar/WebDataHandler.java +++ b/src/org/traccar/WebDataHandler.java @@ -96,6 +96,7 @@ public class WebDataHandler extends BaseDataHandler { String attributes = MiscFormatter.toJsonString(position.getAttributes()); String request = url + .replace("{name}", device.getName()) .replace("{uniqueId}", device.getUniqueId()) .replace("{deviceId}", String.valueOf(position.getDeviceId())) .replace("{protocol}", String.valueOf(position.getProtocol())) |