We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 858ab3c commit 96e44ccCopy full SHA for 96e44cc
1 file changed
backend/src/routing/filters/global-error-filter.ts
@@ -51,8 +51,7 @@ export class GlobalErrorFilter implements ExceptionFilter {
51
52
if (exception instanceof AuthFlowException) {
53
// If the exception is an AuthFlowException, redirect to the frontend login page
54
- const authFlowException: AuthFlowException =
55
- exception as AuthFlowException;
+ const authFlowException: AuthFlowException = exception;
56
57
logger.debug(
58
`Redirecting to login with error: ${authFlowException.message}`,
0 commit comments