mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
Sponsorship auto-generate v0.1.41
This commit is contained in:
@@ -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": []}
|
||||
|
||||
Reference in New Issue
Block a user