Skip to content

Commit

Permalink
Merge pull request #6 from dotCore-off/hotfix/array
Browse files Browse the repository at this point in the history
fix: illegal array construction
  • Loading branch information
dotCore-off authored Aug 20, 2023
2 parents 79178fc + 498c336 commit 1f2fffd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions relay.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1f2fffd

Please sign in to comment.