From 8c32eeb6b36c3cc3182967031e7d8e410aa51d49 Mon Sep 17 00:00:00 2001 From: Taewan Park Date: Mon, 9 Oct 2023 00:05:30 +0900 Subject: [PATCH] Change api parameter name to `hanyang_univ` --- src/app/components/Realtime.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/Realtime.tsx b/src/app/components/Realtime.tsx index 429be214..141b6cd2 100644 --- a/src/app/components/Realtime.tsx +++ b/src/app/components/Realtime.tsx @@ -267,7 +267,7 @@ const RealtimeAPI = async (url: string): Promise> => { const search = async (staName: string): Promise> => { return await RealtimeAPI( `https://api.hybus.app/subway/1/8/${ - staName === '한대앞' ? 'subway' : 'jungang' + staName === '한대앞' ? 'hanyang_univ' : 'jungang' }` ).then( (res) =>