feat: backend create & upload video

This commit is contained in:
swve 2022-11-29 20:39:13 +01:00
parent cc9397ca5f
commit 42d74aebde
8 changed files with 103 additions and 15 deletions

View file

@ -9,7 +9,7 @@ router = APIRouter()
@router.post("/")
async def api_create_course(org_id: str, name: str = Form(), mini_description: str = Form(), description: str = Form(), public: bool = Form(), current_user: PublicUser = Depends(get_current_user), thumbnail: UploadFile | None = None):
async def api_create_course(org_id: str, name: str = Form(), mini_description: str = Form(), description: str = Form(), public: bool = Form(), current_user: PublicUser = Depends(get_current_user), thumbnail: UploadFile | None = None):
"""
Create new Course
"""