Skip to content

Commit

Permalink
fix: id type을 정수형으로 전달하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
wonyangs committed Dec 8, 2024
1 parent f5b80ec commit b380593
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/api/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ async def upload_video(
async def upload_video_with_problem(
file: UploadFile = File(...),
thumbnailImageUrl: str = Form(...),
gymId: str = Form(...),
sectorId: str = Form(...),
holdId: str = Form(...),
gymId: int = Form(...),
sectorId: int = Form(...),
holdId: int = Form(...),
difficulty: str = Form(...),
perceivedDifficulty: str = Form('보통'),
solvedDate: str = Form(...),
Expand Down Expand Up @@ -133,9 +133,9 @@ async def upload_video(
@router.post("/admin/upload/new/")
async def upload_video(
file: UploadFile = File(...),
gymId: str = Form(...),
sectorId: str = Form(...),
holdId: str = Form(...),
gymId: int = Form(...),
sectorId: int = Form(...),
holdId: int = Form(...),
difficulty: str = Form(...),
thumbnailImageUrl: str = Form(...),
solvedDate: str = Form(...),
Expand Down

0 comments on commit b380593

Please sign in to comment.