changinh variable name more meaningful

merge-requests/1/head
Nirothipan 7 years ago
parent 939a770c29
commit 95f25ad9cb

@ -243,7 +243,7 @@ var generatePayload = function (operationCode, operationData, deviceList) {
operationType = operationTypeConstants["PROFILE"]; operationType = operationTypeConstants["PROFILE"];
payload = { payload = {
"operation": { "operation": {
"fileLocation": operationData["fileLocation"], "ftpServerAddress": operationData["ftpServerAddress"],
"ftpUserName": operationData["ftpUserName"], "ftpUserName": operationData["ftpUserName"],
"ftpPassword": operationData["ftpPassword"], "ftpPassword": operationData["ftpPassword"],
"fileName": operationData["fileName"] "fileName": operationData["fileName"]

@ -140,7 +140,7 @@
"formParams": [ "formParams": [
{ {
"type": "text", "type": "text",
"id": "fileLocation", "id": "ftpServerAddress",
"optional": false, "optional": false,
"label": "FTP Server Address" "label": "FTP Server Address"
}, },

Loading…
Cancel
Save