Skip to content

Commit

Permalink
Adding fix for status 500 in device listing page
Browse files Browse the repository at this point in the history
  • Loading branch information
ruwany committed May 3, 2017
1 parent 80bf3c8 commit b54bf30
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function onRequest(context) {
}

var mdmProps = require("/app/modules/conf-reader/main.js")["conf"];
var cUser = userModule.getUser();
var cUser = userModule.getCarbonUser();
var analiticsServer = mdmProps["dashboardServerURL"];
var analiticsURL = analiticsServer + "/portal/t/" + cUser.userDomain + "/dashboards/android-iot/battery?owner=" + cUser.username + "&deviceId=";
viewModel.analiticsURL = analiticsURL;
Expand Down

0 comments on commit b54bf30

Please sign in to comment.