From 8664a10635a2d124f88f8e955fc4c9d4640e1d7b Mon Sep 17 00:00:00 2001 From: dx-tan Date: Mon, 11 Dec 2023 13:32:27 +0700 Subject: [PATCH] Fix: wait on async results --- cope2n-api/fwd_api/api/ctel_view.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cope2n-api/fwd_api/api/ctel_view.py b/cope2n-api/fwd_api/api/ctel_view.py index 7e38ad1..fa19598 100755 --- a/cope2n-api/fwd_api/api/ctel_view.py +++ b/cope2n-api/fwd_api/api/ctel_view.py @@ -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