Fixed level issues
This commit is contained in:
@@ -57,7 +57,7 @@ class Heygen(IVideoGeneratorService):
|
||||
)
|
||||
|
||||
|
||||
async def pool_status(self, video_id: str) -> Task:
|
||||
async def poll_status(self, video_id: str) -> Task:
|
||||
response = await self._http_client.get(self._GET_VIDEO_URL, headers=self._get_header, params={
|
||||
'video_id': video_id
|
||||
})
|
||||
@@ -65,7 +65,6 @@ class Heygen(IVideoGeneratorService):
|
||||
|
||||
status = response_data["data"]["status"]
|
||||
error = response_data["data"]["error"]
|
||||
|
||||
if status != "completed" and error is None:
|
||||
self._logger.info(f"Status: {status}")
|
||||
return Task(
|
||||
|
||||
Reference in New Issue
Block a user