Fix: wait on async results

This commit is contained in:
dx-tan 2023-12-11 13:32:27 +07:00
parent dfc2910d80
commit 8664a10635

View File

@ -279,6 +279,8 @@ class CtelViewSet(viewsets.ViewSet):
serializer.is_valid()
if report_filter[0].status == 400:
raise FileContentInvalidException()
if report_filter[0].status == 100: # continue, only return when result is fullfilled
continue
if len(serializer.data) == 0:
continue