/rest/errors should return an object (fixes #695)

This commit is contained in:
Jakob Borg committed 2014-09-18 12:49:59 +02:00
1 parent 5a1c885e8f
commit 37a473e7d6
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -356,7 +356,7 @@ syncthing.controller('SyncthingCtrl', function ($scope, $http, $translate, $loca
function refreshErrors() {
$http.get(urlbase + '/errors').success(function (data) {
$scope.errors = data;
$scope.errors = data.errors;
console.log("refreshErrors", data);
});
}