.create() on mongoose schema erroring with “this expression is not callable” - TypeScript

前端 未结 0 410
萌比男神i
萌比男神i 2021-01-24 00:37

My .create on a mongoose model is erroring and I cannot find out what the issue is. I\'m using Next JS and the call is happening in an API route....

The get request works

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