Skip to content

Commit

Permalink
fix: routing method wtf
Browse files Browse the repository at this point in the history
  • Loading branch information
PleahMaCaka committed Nov 2, 2023
1 parent 6a7ffa8 commit 617591c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/subway.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
router = APIRouter()


@router.get("/")
@router.post("/")
def request_subway_data(station_name: str):
response = requests.get(
"{}/{}/{}/{}/{}/{}/{}".format(
Expand Down

0 comments on commit 617591c

Please sign in to comment.