diff --git a/github_cve_monitor.py b/github_cve_monitor.py index 36d33bc..bd421d3 100644 --- a/github_cve_monitor.py +++ b/github_cve_monitor.py @@ -55,7 +55,7 @@ def get_update_log(url): download_url = json_str[0]['html_url'] return update_log, download_url else: - json_str = requests.get(url + '/releases', headers = github_headers, timeout= 10).json() + json_str = requests.get(url + '/commits', headers = github_headers, timeout= 10).json() update_log = json_str[0]['commit']['message'] return update_log, ''