79255798

Date: 2024-12-05 18:16:17
Score: 1
Natty:
Report link

I am just providing a small fix to the reflector line:

const guards = allowedGuards.map((guardReference) => this.moduleRef.get<CanActivate>(guardReference, { strict: false }), );

In case the guards are not instantiated properly. Also, to have the guards being trigger correctly in the multiple guard, it should be above each API call, not in the whole Controller class concept.

Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: cktakata