UnhandledPromiseRejectionWarning: TypeError: res.status is not a function (NEXT JS)

前端 未结 0 1131
暗喜
暗喜 2020-12-03 03:16

when i console.log(response) then i get the result on the terminal,

but when i use res.status(200).json(response); i get this error on my nextjs project &

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