From 1c0ffc246a5c046cd3a4123aa904b56579de2e29 Mon Sep 17 00:00:00 2001 From: osaajani <> Date: Sat, 30 Jan 2021 11:16:15 +0100 Subject: [PATCH] fix missing , --- controllers/internals/Webhook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'],