You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By 'they're not necessary', I just meant they don't add anything to the functions they wrap. They belong in a different file, maybe helpers or something. But I would just use the original functions like bcrypt.compare(.. instead of wrapping them.
hashPassword and checkPw functions in this file:
https://github.com/facn2/facnrecipev4/blob/master/src/models/queries.js#L31-L33
They shouldn't really be in the queries file, and anyway they are not really necessary.
The text was updated successfully, but these errors were encountered: