getUserLog and getLog don't have an id parameter

these methods blow up when the api doesn't return because they referenced an id variable that does not exist
This commit is contained in:
Marc Goodson
2017-02-04 18:40:28 +00:00
committed by GitHub
parent edb0a934a1
commit 78bc38fe1b

View File

@@ -68,7 +68,7 @@ function logResource($q, $http, umbRequestHelper) {
"logApiBaseUrl",
"GetCurrentUserLog",
[{ logtype: type, sinceDate: since }])),
'Failed to retrieve user data for id ' + id);
'Failed to retrieve log data for current user of type ' + type + ' since ' + since);
},
/**
@@ -99,7 +99,7 @@ function logResource($q, $http, umbRequestHelper) {
"logApiBaseUrl",
"GetLog",
[{ logtype: type, sinceDate: since }])),
'Failed to retrieve user data for id ' + id);
'Failed to retrieve log data of type ' + type + ' since ' + since);
}
};
}