Skip to content

Commit

Permalink
Change api parameter name to hanyang_univ
Browse files Browse the repository at this point in the history
  • Loading branch information
Taewan-P committed Oct 8, 2023
1 parent 4b9e3a9 commit 8c32eeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/Realtime.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ const RealtimeAPI = async (url: string): Promise<Array<SingleTrainInfo>> => {
const search = async (staName: string): Promise<Array<SingleTrainInfo>> => {
return await RealtimeAPI(
`https://api.hybus.app/subway/1/8/${
staName === '한대앞' ? 'subway' : 'jungang'
staName === '한대앞' ? 'hanyang_univ' : 'jungang'
}`
).then(
(res) =>
Expand Down

0 comments on commit 8c32eeb

Please sign in to comment.