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
I'm using transaction.start()/end() hooks in my project. I saw a warning message printed on console in debug: (node:3889) Warning: .then() only accepts functions but was passed: [object Object]
It seems that there is a typo in function end()/rollback() in hook.js:
Version 2.9.0
I'm using transaction.start()/end() hooks in my project. I saw a warning message printed on console in debug:
(node:3889) Warning: .then() only accepts functions but was passed: [object Object]
It seems that there is a typo in function end()/rollback() in hook.js:
When I removed
.then(hook)
, the warning message disappeared.The text was updated successfully, but these errors were encountered: