mirror of https://github.com/node-red/node-red.git
Merge pull request #2167 from minzojian/master
update packages\node_modules\@node-red\runtime\lib\index.js
This commit is contained in:
commit
e0111d3fe6
|
@ -46,7 +46,7 @@ var stubbedExpressApp = {
|
||||||
}
|
}
|
||||||
var adminApi = {
|
var adminApi = {
|
||||||
auth: {
|
auth: {
|
||||||
needsPermission: function() {}
|
needsPermission: function() {return function(req,res,next) {next()}}
|
||||||
},
|
},
|
||||||
adminApp: stubbedExpressApp,
|
adminApp: stubbedExpressApp,
|
||||||
server: {}
|
server: {}
|
||||||
|
|
Loading…
Reference in New Issue