diff --git a/app.py b/app.py
index d9d37ae..5be3745 100644
--- a/app.py
+++ b/app.py
@@ -38,7 +38,7 @@ async def webhook():
def generatePushMsg(data):
msg = f'🔨 {data["total_commits_count"]} new commits to ' \
- f'{data["project"]["name"]}:{data["project"]["default_branch"]}:\n\n'
+ f'{data["project"]["name"]}:{data["ref"].replace("refs/heads/", "")}:\n\n'
for commit in data['commits']:
tag_link = f'{commit["id"][:7]}'
msg = msg + f"{tag_link}: {commit['message'].rstrip()}\n"