From cb884bed449816541dda262f825730242acdc5c2 Mon Sep 17 00:00:00 2001 From: Origami Official <64251776+origamiofficial@users.noreply.github.com> Date: Wed, 3 Apr 2024 05:37:05 +0600 Subject: [PATCH] Fix GITHUB_RUN_ID error --- main.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index fe519d7..6855e41 100644 --- a/main.py +++ b/main.py @@ -25,7 +25,7 @@ "{title}\n\n" "Date: {day} {month} {year}\n\n" "{description}\n\n" - "https://www.aiub.edu{link} | {GITHUB_RUN_ID}" + "https://www.aiub.edu{link} | {gh_run_id}" ) # Message format for edited notices @@ -33,7 +33,7 @@ "[EDITED] {title}\n\n" "Date: {day} {month} {year}\n\n" "{description}\n\n" - "https://www.aiub.edu{link} | {GITHUB_RUN_ID}" + "https://www.aiub.edu{link} | {gh_run_id}" ) # SQLite database information @@ -252,7 +252,8 @@ def send_telegram_message(message): month=month, year=year, description=description, - link=link + link=link, + gh_run_id=GITHUB_RUN_ID ) send_telegram_message(message) else: @@ -274,7 +275,8 @@ def send_telegram_message(message): month=month, year=year, description=description, - link=link + link=link, + gh_run_id=GITHUB_RUN_ID ) send_telegram_message(message)