We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c3171b commit 98bf5a6Copy full SHA for 98bf5a6
1 file changed
lib/models/note.js
@@ -251,11 +251,11 @@ module.exports = function (sequelize, DataTypes) {
251
return callback(null, note.id)
252
}
253
} catch (err) {
254
- return callback(err, null)
+ return _callback(err, null)
255
256
257
if (!note) {
258
- return callback(null, null)
+ return _callback(null, null)
259
260
261
}).catch(function (err) {
0 commit comments