diff --git a/plugin/webman/gateway/Events.php b/plugin/webman/gateway/Events.php index 5d6beb1..7c4b1af 100644 --- a/plugin/webman/gateway/Events.php +++ b/plugin/webman/gateway/Events.php @@ -147,7 +147,7 @@ class Events 'msg_id' => '', 'type' => 'time_discount', 'status' => $res, - 'data' => json_decode($message, true), + 'data' => json_decode($message['data'], true), ]; Gateway::sendToClient($client_id, json_encode($snd_data)); return;