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);