bug fix 10
This commit is contained in:
parent
4c92d28496
commit
2e3a506c81
@ -46,7 +46,7 @@ export class RolesGuard implements CanActivate {
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
} catch (err: any) {
|
} catch (err: any) {
|
||||||
throw new UnauthorizedException('Authentication Failed');
|
throw new UnauthorizedException('Unauthorized : Please Request Access for this Resource');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user