Add a token to the request
This commit is contained in:
parent
c037edbc58
commit
282e3bcaf1
@ -77,6 +77,11 @@ class events {
|
||||
$events = unserialize(gzuncompress(base64_decode($callback->events)));
|
||||
|
||||
if (boolval($events[$data["eventname"]])) {
|
||||
/* Adding to the data token */
|
||||
if (boolval($callback->token)) {
|
||||
$data["token"] = $callback->token;
|
||||
}
|
||||
|
||||
self::send($data, $callback);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user