bcrypt Error: data and hash arguments required

后端 未结 4 945
忘了有多久
忘了有多久 2020-12-18 22:07

I am getting a bcrypt error stating that data and hash arguments are required, referencing line #44 in my routes.js file. From what I can tell, I am passing that information

4条回答
  •  天命终不由人
    2020-12-18 22:46

    I had the same error and the problem was a missing await when calling the function that reads from database

提交回复
热议问题