diff --git a/apps/edr-passenger-web/portal/src/services/stations.service.ts b/apps/edr-passenger-web/portal/src/services/stations.service.ts index 1c1b4f4d2..20010954a 100644 --- a/apps/edr-passenger-web/portal/src/services/stations.service.ts +++ b/apps/edr-passenger-web/portal/src/services/stations.service.ts @@ -1,12 +1,13 @@ -import type { IStation } from "../types"; +// import type { IStation } from "../types"; import { api } from "../utils/api"; +import type { Passenger } from "@edr/types"; export const stationsService = { - list: async (): Promise => { + list: async (): Promise => { const { data } = await api.get("/stations"); return data.data; }, - get: async (id: string): Promise => { + get: async (id: string): Promise => { const { data } = await api.get(`/stations/${id}`); return data.data; },