Skip to content

Commit

Permalink
Return string only in /overwatcher/logs if not as_task
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Aug 8, 2024
1 parent 722161e commit fe3fb2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lvmapi/routers/overwatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,5 @@ async def get_logs_data_route(
if as_task:
return task.task_id

return await task.wait_result()
result = await task.wait_result()
return result.return_value

0 comments on commit fe3fb2f

Please sign in to comment.