TypeError: Cannot read property 'asOwner' of undefined
yyken opened this issue · 1 comments
maybe
AuthModule.prototype.test = function(username, password, options, next) {
this.proto._test.apply(this, arguments);
}
TypeError: Cannot read property 'asOwner' of undefined
at Object.AuthModule._test (E:\Projects\bipio\src\modules\auth\prototype.js:213:14)
at Object.AuthModule.test (E:\Projects\bipio\src\modules\auth\prototype.js:252:24)
at E:\Projects\bipio\src\router.js:129:24
at E:\Projects\bipio\node_modules\connect\node_modules\basic-auth-connect\index.js:83:7
at restAuthWrapper (E:\Projects\bipio\src\router.js:130:7)
at Layer.handle as handle_request
at next (E:\Projects\bipio\node_modules\express\lib\router\route.js:100:13)
at Route.dispatch (E:\Projects\bipio\node_modules\express\lib\router\route.js:81:3)
at Layer.handle as handle_request
at E:\Projects\bipio\node_modules\express\lib\router\index.js:227:24
Thanks for logging the issue, fixed + npm updated