How to send a variable to the middleware

后端 未结 0 448
一个人的身影
一个人的身影 2020-12-17 21:33

I have an express-router route as follows:

.post(
    authController.protect,
    itemController.createItem, //create Item
    itemController.sendNotification         


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