mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
attempt to fix tests
This commit is contained in:
@@ -91,7 +91,7 @@ module.exports = function (Plugins) {
|
||||
if (hook !== 'action:plugins.firehook') {
|
||||
Plugins.fireHook('action:plugins.firehook', { hook: hook, params: params });
|
||||
}
|
||||
if (result) {
|
||||
if (result !== undefined) {
|
||||
callback(null, result);
|
||||
} else {
|
||||
callback();
|
||||
|
||||
Reference in New Issue
Block a user