From 0fc548d6b49c45738de885d4ff24549ef48d2d9d Mon Sep 17 00:00:00 2001 From: Orne Brocaar Date: Sat, 10 Sep 2022 12:42:01 +0100 Subject: [PATCH] Fix object > data error in template. Closes #39. --- .../device-profile-templates/CreateDeviceProfileTemplate.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/views/device-profile-templates/CreateDeviceProfileTemplate.tsx b/ui/src/views/device-profile-templates/CreateDeviceProfileTemplate.tsx index 932dbb00..b020bc10 100644 --- a/ui/src/views/device-profile-templates/CreateDeviceProfileTemplate.tsx +++ b/ui/src/views/device-profile-templates/CreateDeviceProfileTemplate.tsx @@ -34,7 +34,7 @@ class CreateDeviceProfileTemplate extends Component { // - data = Object representing the decoded payload. function decodeUplink(input) { return { - object: { + data: { temp: 22.5 } };