Fix calling old function name

This commit is contained in:
Ben 2019-08-14 19:36:35 +02:00 committed by GitHub
parent 3cf14300fd
commit 0ccc649d59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
wmn.py
View File

@ -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' <li><a href="{url}">{msg}</a></li>' for (msg, url) in commit_messages))
text_commits = "\n".join((f"- [{msg}]({url})" for (msg, url) in commit_messages))