add bots token
This commit is contained in:
		
							parent
							
								
									bd72fc4476
								
							
						
					
					
						commit
						1f414e85bc
					
				@ -15,7 +15,6 @@ auth_scheme = HTTPBearer()
 | 
			
		||||
@dataclass
 | 
			
		||||
class CurrentUser:
 | 
			
		||||
    token: str
 | 
			
		||||
    is_bot: str
 | 
			
		||||
    user_id: str
 | 
			
		||||
    session_id: str
 | 
			
		||||
    permissions: List[str]
 | 
			
		||||
@ -125,7 +124,6 @@ async def fetch_user_for_sio(
 | 
			
		||||
 | 
			
		||||
    return CurrentUser(
 | 
			
		||||
        token=token,
 | 
			
		||||
        is_bot=data["is_bot"],
 | 
			
		||||
        user_id=data["user_id"],
 | 
			
		||||
        session_id=data["session_id"],
 | 
			
		||||
        permissions=data["permissions"]
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user