simple error removed
Browse files
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 |
|