From 498c336c3214211f48585beb576a47fc55d25a10 Mon Sep 17 00:00:00 2001 From: Alexis Badel Date: Sun, 20 Aug 2023 18:53:08 +0200 Subject: [PATCH] fix: illegal array construction --- relay.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/relay.php b/relay.php index e3c69ab..528e638 100644 --- a/relay.php +++ b/relay.php @@ -100,12 +100,12 @@ function verifyHeaders($received, $check, $name = "array") { Other variables can be fetched from $aPayload - see a GitHub Push webhook payload to view available keys */ $aInfo = array( - ["sender"] => $sSender, - ["account"] => $sAccount, - ["avatar"] => $sAvatar, - ["repository"] => $sRepository, - ["repository_url"] => $sRepositoryUrl, - ["commits"] => $sContent + "sender" => $sSender, + "account" => $sAccount, + "avatar" => $sAvatar, + "repository" => $sRepository, + "repository_url" => $sRepositoryUrl, + "commits" => $sContent ); // Generate a new DiscordWebhook and send it - view README for further customization