Mysql – findOne returning me null even though there is entries in my DB NodeJS
This is my User Model module.exports = (sequelize, DataTypes) => { const User = sequelize.define("User", { email: { type: DataTypes.STRING, allowNull: false, unique: true }, password: { type: DataTypes.STRING, allowNull: false } }) return User } and i am try…