Fixed user slide

This commit is contained in:
FinnStutzenstein 2019-05-04 08:35:54 +02:00
parent d7c6583b7e
commit cc931bc8bf

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: