Closed davidkellerman closed 7 years ago
The guardHandler() method returns a promise, which can't be passed directly to router.route(). Need to use a .then() clause.
guardHandler()
router.route()
.then()
The
guardHandler()
method returns a promise, which can't be passed directly torouter.route()
. Need to use a.then()
clause.