attempt to fix tests

v1.18.x
Baris Usakli 6 years ago
parent 65f6630722
commit c14dbfc6b7

@ -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();

Loading…
Cancel
Save