Mongoose.js CastError: Cast to Number failed for value “{ '$gte': 1 }” at path “access” for model “Projekt”

后端 未结 0 1046
长发绾君心
长发绾君心 2020-11-27 22:48

I\'m trying to find a user inside of an array of users who have the same id as the one in my token and access greater than 1.

to do so I\'m using the following code b

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