The error-param cleanup and the two isOnboarded ternaries picking the failure destination were the bulk of callback()'s complexity. Pull them into handleAuthorizationError() and failureRedirect(), which also collapses the four repeated (route, params, 'error', message) argument lists into one call each. No behaviour change. |
||
|---|---|---|
| .. | ||
| Actions | ||
| Ai/Agents | ||
| Console/Commands | ||
| Contracts | ||
| Enums | ||
| Events | ||
| Exceptions/Banking | ||
| Features | ||
| Http | ||
| Jobs | ||
| Listeners | ||
| Mcp | ||
| Models | ||
| Notifications | ||
| Policies | ||
| Providers | ||
| Rules | ||
| Services | ||
| Support | ||