Skip to content

Commit

Permalink
Processor additional field
Browse files Browse the repository at this point in the history
  • Loading branch information
valentineus committed Oct 29, 2017
1 parent 1e81988 commit 07970f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions classes/handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ private static function handler_callback($data, $callback) {
$data["token"] = $callback->token;
}

if (!empty($callback->other)) {
$data["extra"] = $callback->other;
}

self::send($data, $callback);
}
}
Expand Down

0 comments on commit 07970f3

Please sign in to comment.