mirror of
https://repository.entgra.net/community/product-iots.git
synced 2025-09-16 23:32:19 +00:00
Trim deviceId to remove extra spaces
This commit is contained in:
parent
273cb989d4
commit
6b4f3d0373
@ -21,7 +21,7 @@ function onRequest(context) {
|
||||
|
||||
var devices = context.unit.params.devices;
|
||||
var deviceType = context.uriParams.deviceType;
|
||||
var deviceId = request.getParameter("deviceId");
|
||||
var deviceId = request.getParameter("deviceId").trim();
|
||||
|
||||
if (devices) {
|
||||
return {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user