From 0ccc649d5970a41bcd4af2e75806b035f5af2289 Mon Sep 17 00:00:00 2001 From: Benedikt Ziemons Date: Wed, 14 Aug 2019 19:36:35 +0200 Subject: [PATCH] Fix calling old function name --- wmn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmn.py b/wmn.py index 1ad3aaf..3a5f50e 100644 --- a/wmn.py +++ b/wmn.py @@ -92,7 +92,7 @@ def process_gitlab_request(): return msg, url username = request.json["user_name"] - commit_messages = list(map(extract_commit_message, sort_commits_by_time(request.json["commits"]))) + commit_messages = list(map(extract_commit_info, sort_commits_by_time(request.json["commits"]))) project_name = request.json["project"]["name"] html_commits = "\n".join((f'
  • {msg}
  • ' for (msg, url) in commit_messages)) text_commits = "\n".join((f"- [{msg}]({url})" for (msg, url) in commit_messages))