summaryrefslogtreecommitdiff
path: root/classes/handler.php
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-10-29 10:32:50 +0300
committerValentin Popov <info@valentineus.link>2017-10-29 10:32:50 +0300
commit07970f36e35b87ad89b8b6011ed5a04c4a3022f9 (patch)
tree2f7e671900fa6e49d5c403ac96ad50dcc29c3030 /classes/handler.php
parent1e81988bf59b9f794d258c44b2de0f81b3f499d8 (diff)
downloadlocal_webhooks-07970f36e35b87ad89b8b6011ed5a04c4a3022f9.tar.xz
local_webhooks-07970f36e35b87ad89b8b6011ed5a04c4a3022f9.zip
Processor additional fieldv1.1.0
Diffstat (limited to 'classes/handler.php')
-rw-r--r--classes/handler.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/handler.php b/classes/handler.php
index 6ed9da7..b1ae2dc 100644
--- a/classes/handler.php
+++ b/classes/handler.php
@@ -86,6 +86,10 @@ class handler {
$data["token"] = $callback->token;
}
+ if (!empty($callback->other)) {
+ $data["extra"] = $callback->other;
+ }
+
self::send($data, $callback);
}
}