kopia lustrzana https://github.com/bugout-dev/moonstream
				
				
				
			Add required changes.
							rodzic
							
								
									07734d1b2b
								
							
						
					
					
						commit
						63347d81f3
					
				|  | @ -169,11 +169,14 @@ def collect_billing_information( | |||
|     query_amount = len(query_resources.resources) | ||||
| 
 | ||||
|     ### Get user's leaderboards resources | ||||
|     if user_id is None: | ||||
|         leaderboards = requests.get( | ||||
|             "https://engineapi.moonstream.to/leaderboard/leaderboards", | ||||
|             headers={"Authorization": f"Bearer {token}"}, | ||||
|         ).json() | ||||
| 
 | ||||
|     leaderboards = requests.get( | ||||
|         "https://engineapi.moonstream.to/leaderboard/leaderboards", | ||||
|         headers={"Authorization": f"Bearer {token}"}, | ||||
|     ).json() | ||||
|     else: | ||||
|         Leaderboards = {} | ||||
| 
 | ||||
|     # Get user leaderboards | ||||
| 
 | ||||
|  |  | |||
|  | @ -521,7 +521,7 @@ This CLI is configured to work with the following API URLs: | |||
|     create_query_parser.set_defaults(func=queries.create_query_template) | ||||
| 
 | ||||
|     billing_parser = subcommands.add_parser( | ||||
|         "billing", description="Manage Moonstream billing" | ||||
|         "usage", description="Manage Moonstream billing" | ||||
|     ) | ||||
| 
 | ||||
|     billing_parser.set_defaults(func=lambda _: billing_parser.print_help()) | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 Andrey
						Andrey