diff options
author | Valentin Popov <info@valentineus.link> | 2017-10-29 10:32:50 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2017-10-29 10:32:50 +0300 |
commit | 07970f36e35b87ad89b8b6011ed5a04c4a3022f9 (patch) | |
tree | 2f7e671900fa6e49d5c403ac96ad50dcc29c3030 | |
parent | 1e81988bf59b9f794d258c44b2de0f81b3f499d8 (diff) | |
download | local_webhooks-07970f36e35b87ad89b8b6011ed5a04c4a3022f9.tar.xz local_webhooks-07970f36e35b87ad89b8b6011ed5a04c4a3022f9.zip |
Processor additional fieldv1.1.0
-rw-r--r-- | classes/handler.php | 4 |
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); } } |