diff --git a/.github/workflows/update_sponsors_table.yml b/.github/workflows/update_sponsors_table.yml index 1b87a1d5..2f3cf8a8 100755 --- a/.github/workflows/update_sponsors_table.yml +++ b/.github/workflows/update_sponsors_table.yml @@ -2,7 +2,7 @@ name: Update Sponsors Table on: schedule: - - cron: '35 12 * * *' # Set your preferred schedule (UTC) + - cron: '47 20 * * *' # Set your preferred schedule (UTC) jobs: update-table: diff --git a/update_sponsors.py b/update_sponsors.py index 40f7c796..e66db98a 100755 --- a/update_sponsors.py +++ b/update_sponsors.py @@ -49,6 +49,9 @@ def fetch_sponsors(): response = requests.post(graphql_url, json={"query": graphql_query}, headers=headers) data = response.json() + + print(f"Debug GraphQL query result: {data}") + if "errors" in data: print(f"GraphQL query failed: {data['errors']}") return {"sponsors": []}