From d71da7263744e0f42e8ccdd490597dae5a542cd8 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 3 Apr 2016 23:07:29 +1200 Subject: Add name to forwarding handler (fix #1848) --- src/org/traccar/WebDataHandler.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/org/traccar') 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())) -- cgit v1.2.3