How to save authUser object from middleware into request [fastify]

前端 未结 0 1812
谎友^
谎友^ 2021-02-13 14:57

I wanted to save authUser object into fastify request before it comes into handler.

I did it like this in router.

fa         


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