Skip to content

Commit 1edd3e2

Browse files
authored
🐛 fix joining session as a player
1 parent 0c61244 commit 1edd3e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ async def launch_session(host: str = Body(embed=True), authorization: HTTPAuthor
320320
}
321321
)
322322
async def join(host: str = Body(embed=True), guest: str = Body(embed=True), authorization: HTTPAuthorizationCredentials = Depends(security)):
323-
if auth_err_result := await check_access(host, authorization):
323+
if auth_err_result := await check_access(guest, authorization):
324324
return auth_err_result
325325

326326
if host not in hosts_sessions:

0 commit comments

Comments
 (0)