Skip to content

Commit 52e5664

Browse files
Fix illegal invocation
The second argument supplied here, should be a callback that is invoked after the config was saved. Providing console.log here results in an error.
1 parent 8a8268a commit 52e5664

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ app.controller('GitLabCtrl', ['$scope', function ($scope){
3434
};
3535

3636
$scope.save = function(){
37-
this.providerConfig(this.config, console.log);
37+
this.providerConfig(this.config);
3838
};
3939
}]);

0 commit comments

Comments
 (0)