Mbonea commited on
Commit
0a98c73
1 Parent(s): 7ab4617

simple error removed

Browse files
Files changed (1) hide show
  1. App/Editor/editorRoutes.py +1 -1
App/Editor/editorRoutes.py CHANGED
@@ -8,7 +8,7 @@ videditor_router = APIRouter(tags=["vidEditor"])
8
 
9
  @videditor_router.post("/create-video")
10
  async def create_video(videoRequest: EditorRequest):
11
- result = celery_task.delay(videoRequest)
12
  return {"task_id": result.task_id}
13
 
14
 
 
8
 
9
  @videditor_router.post("/create-video")
10
  async def create_video(videoRequest: EditorRequest):
11
+ result = celery_task.delay(videoRequest.dict())
12
  return {"task_id": result.task_id}
13
 
14