File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11[
22 {
3- "login" : " roeldebruijn1978 " ,
4- "avatarUrl" : " https://avatars.githubusercontent.com/u/36719258 ?v=4" ,
5- "url" : " https://github.com/roeldebruijn1978 " ,
6- "amount" : 300
3+ "login" : " denson9874 " ,
4+ "avatarUrl" : " https://avatars.githubusercontent.com/u/9751141 ?v=4" ,
5+ "url" : " https://github.com/denson9874 " ,
6+ "amount" : 2000
77 }
88]
Original file line number Diff line number Diff line change 66
77GRAPHQL_QUERY = """
88query {
9- user (login: "DerGoogler ") {
9+ organization (login: "MMRLApp ") {
1010 sponsorshipsAsMaintainer(activeOnly: false, first: 100) {
1111 nodes {
1212 sponsorEntity {
@@ -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 )
You can’t perform that action at this time.
0 commit comments