diff --git a/controllers/internals/Webhook.php b/controllers/internals/Webhook.php index 81bfa3d..5c40fce 100644 --- a/controllers/internals/Webhook.php +++ b/controllers/internals/Webhook.php @@ -130,7 +130,7 @@ public function trigger(int $id_user, string $type, array $sms) 'data' => [ 'webhook_timestamp' => $timestamp, 'webhook_type' => $webhook['type'], - 'webhook_random_id' => $timestamp . '-' . bin2hex(openssl_random_pseudo_bytes(8)) + 'webhook_random_id' => $timestamp . '-' . bin2hex(openssl_random_pseudo_bytes(8)), 'id' => $sms['id'], 'at' => $sms['at'], 'text' => $sms['text'],