mirror of
				https://github.com/RGBCube/GitHubWrapper
				synced 2025-10-31 14:02:46 +00:00 
			
		
		
		
	Typo
This commit is contained in:
		
							parent
							
								
									b8752e46b0
								
							
						
					
					
						commit
						fa79b7ef9d
					
				
					 2 changed files with 2 additions and 10 deletions
				
			
		|  | @ -47,5 +47,4 @@ async def get_user(session: aiohttp.ClientSession, username: str) -> GitHubUserD | ||||||
|     result = await session.get(USERS_URL.format(username)) |     result = await session.get(USERS_URL.format(username)) | ||||||
|     if result.status == 200: |     if result.status == 200: | ||||||
|         return await result.json() |         return await result.json() | ||||||
|     raise UserNotFound |     raise UserNotFound | ||||||
| 
 |  | ||||||
|  | @ -80,11 +80,4 @@ class User(_BaseUser): | ||||||
|     async def get_user(self, session: aiohttp.ClientSession, username: str) -> 'User': |     async def get_user(self, session: aiohttp.ClientSession, username: str) -> 'User': | ||||||
|         """Returns a User object from the username, with the mentions slots.""" |         """Returns a User object from the username, with the mentions slots.""" | ||||||
|         response = await http.get_user(session, username) |         response = await http.get_user(session, username) | ||||||
|         return User(response, session) |         return User(response, session)     | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
|      |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 VarMonke
						VarMonke