From 671d24b81d490b73d5c760b7ed399348a5fbdb3d Mon Sep 17 00:00:00 2001 From: SennayT Date: Mon, 25 May 2026 09:52:52 +0300 Subject: [PATCH] fix: fix typerror on stations object --- .../portal/src/services/stations.service.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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; },