You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The redirectTo function in src/middleware.factory.js doesn't have params and options parameters. When install via npm the function has only route parameter available.
/**
* Redirect to another route
*
* @returns {void}
*/
function redirectTo(route, params, options) {
middleware.resolution.reject({
type: "redirectTo",
route: route,
params: params,
options: options
});
}
The text was updated successfully, but these errors were encountered:
The repo on npm is out of date.
The redirectTo function in
src/middleware.factory.js
doesn't haveparams
andoptions
parameters. When install via npm the function has onlyroute
parameter available.The text was updated successfully, but these errors were encountered: