Skip to content

Commit 348881a

Browse files
authored
[skip ci] Update fetch-sponsors.py
1 parent 3bbb19e commit 348881a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/fetch-sponsors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def save_sponsors_to_file(sponsors_data, filename="docs/public/api/sponsors.json
5151
"url": node["sponsorEntity"]["url"],
5252
"amount": node["tier"]["monthlyPriceInCents"]
5353
}
54-
for node in sponsors_data["data"]["user"]["sponsorshipsAsMaintainer"]["nodes"]
54+
for node in sponsors_data["data"]["organization"]["sponsorshipsAsMaintainer"]["nodes"]
5555
]
5656

5757
os.makedirs(os.path.dirname(filename), exist_ok=True)

0 commit comments

Comments
 (0)