Nestjs roles guard invokes 2 times and gets user undefined at first

后端 未结 0 934
南方客
南方客 2021-01-13 19:39

I use passport and want to protect few routes by roles. It looks like guard invokes 2 times. At first it logs user undefined. Second time it logs user correct. What I did wr

相关标签:
回答
  • 消灭零回复
提交回复
热议问题