From bfe914bb289552d35273f1310b7c8795f6383795 Mon Sep 17 00:00:00 2001 From: Sammybams Date: Thu, 26 Sep 2024 07:07:42 +0100 Subject: [PATCH] Debug API token print. --- update_leaderboard.py | 1 + 1 file changed, 1 insertion(+) diff --git a/update_leaderboard.py b/update_leaderboard.py index 4b7b36e..ced072f 100644 --- a/update_leaderboard.py +++ b/update_leaderboard.py @@ -11,6 +11,7 @@ def initialize_api(): repository_owner = "mlsanigeria" repository_name = "speak-to-docs" api_token = os.environ.get("API_TOKEN") + print(f"API TOKEN: {api_token}") # Debug: print API token # Define the GitHub API endpoint for pull requests api_url = f"https://api.github.com/repos/{repository_owner}/{repository_name}/pulls"