From 04a10995f5c244eccdc10c2cd3280b151fcd5001 Mon Sep 17 00:00:00 2001 From: elkmaennchen Date: Sun, 29 Mar 2020 10:42:16 +0200 Subject: [PATCH] fix error in URL --- gitscord_webhook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitscord_webhook.php b/gitscord_webhook.php index d94e197..73d06c5 100644 --- a/gitscord_webhook.php +++ b/gitscord_webhook.php @@ -128,7 +128,7 @@ function tag_layout($messageJSON,$JSON,$lang) { $messageJSON['content'] = $txt_ligne_tag[$lang] ; $messageJSON['embeds'] = array(array('title'=> $txt_title_tag[$lang].' *'.$JSON['project']['name'].'*', 'description'=> $JSON['message'], - 'url'=> $JSON['project']['web_url'].$JSON['ref'], + 'url'=> $JSON['project']['web_url'], 'timestamp'=> $JSON['commits'][0]['timestamp'], 'author'=> array('name'=> $JSON['user_name'])),); return($messageJSON);