Skip to content

Incorrect UI code validation for colon in parameters of method #5

Open
@OKhalkov

Description

image

Payload:

{
    "temperatureUploadFrequency": 60,
    "humidityUploadFrequency": 30
}

Code:

var key = [];
foreach(element: msg.entrySet()){
    key.add(element.key);
}

var result = {
    contentType: "JSON",
    data: key,
    metadata: {
        deviceId: "deviceIdTuya"
    }
};

return result;

But the code performs correctly

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions