summaryrefslogtreecommitdiff
path: root/classes/handler.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/handler.php')
-rw-r--r--classes/handler.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/classes/handler.php b/classes/handler.php
index a9fddf7..ac933a9 100644
--- a/classes/handler.php
+++ b/classes/handler.php
@@ -120,12 +120,13 @@ class handler {
$event = \local_webhooks\event\response_get::create(
array(
- "context" => \context_system::instance(0),
+ "context" => \context_system::instance(0),
"objectid" => $callback->id,
- "other" => array(
- "status" => $status
+ "other" => array(
+ "status" => $status
+ )
)
- ));
+ );
$event->trigger();
}