Merge pull request #4658 from FinnStutzenstein/fixUserSlide

Fixed user slide
This commit is contained in:
Finn Stutzenstein 2019-05-04 12:13:57 +02:00 committed by GitHub
commit 8fb12a6882
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ async def user_slide(
if user_id is None:
raise ProjectorElementException("id is required for user slide")
return {"user": get_user_name(all_data, user_id)}
return {"user": await get_user_name(all_data, user_id)}
async def get_user_name(all_data: AllData, user_id: int) -> str: