Add: request_id on result
This commit is contained in:
parent
640c7504c4
commit
9e570b8275
@ -273,6 +273,7 @@ class CtelViewSet(viewsets.ViewSet):
|
||||
if serializer.data[0]["data"].get("status", 200) != 200:
|
||||
continue
|
||||
|
||||
serializer.data[0]["request_id"] = rq_id
|
||||
return Response(status=status.HTTP_200_OK, data=serializer.data[0])
|
||||
raise ServiceTimeoutException(excArgs=f"{rq_id}")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user