hydra-notify: properly call new_event
This commit is contained in:
parent
e572a5e576
commit
2c50227082
|
@ -68,7 +68,7 @@ while (!$queued_only) {
|
||||||
my $payload = $message->{"payload"};
|
my $payload = $message->{"payload"};
|
||||||
|
|
||||||
eval {
|
eval {
|
||||||
my $event = Hydra::Event::new_event($channelName, $message->{"payload"});
|
my $event = Hydra::Event->new_event($channelName, $message->{"payload"});
|
||||||
runPluginsForEvent($event);
|
runPluginsForEvent($event);
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
Loading…
Reference in a new issue