Skip to content

Commit

Permalink
fix: 307 Temporary Redirect
Browse files Browse the repository at this point in the history
INFO:     172.17.0.1:55792 - "GET /api/jobs?city=%E5%85%A8%E5%9B%BD HTTP/1.1" 307 Temporary Redirect
  • Loading branch information
Selflocking committed Jan 20, 2024
1 parent 9b3b906 commit 19ebaf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/routers.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def get_session():
router = APIRouter()


@router.get("/jobs/", response_model=list[schemas.JobSchema])
@router.get("/jobs", response_model=list[schemas.JobSchema])
def get_jobs(city: str | None = None, session: Session = Depends(get_session)):
return services.get_jobs(city, session)

Expand Down

0 comments on commit 19ebaf1

Please sign in to comment.