Skip to content

Commit 197e962

Browse files
committed
bugfix: replace setting rest_log with database entry log_file
1 parent fb048ff commit 197e962

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/admin/js/controllers.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -549,10 +549,10 @@ ctrl.controller("ConfigCtrl", function(Flash, $scope, $filter, dialogs, $locatio
549549
$scope.init = function() {
550550
Flash.clear();
551551

552-
restConfig.query( {key:'rest_log'},
552+
restConfig.query( {key:'log_file'},
553553
function(response) {
554554
console.log('Got config '+angular.toJson(response));
555-
$scope.loggingPath = response.rest_log;
555+
$scope.loggingPath = response.log_file;
556556
}
557557
);
558558

@@ -592,7 +592,7 @@ ctrl.controller("ConfigCtrl", function(Flash, $scope, $filter, dialogs, $locatio
592592
*/
593593
$scope.saveConfigurations = function() {
594594
restConfig.update({
595-
key: 'rest_log'
595+
key: 'log_file'
596596
}, {
597597
value: $scope.loggingPath
598598
},

0 commit comments

Comments
 (0)