Files
edr-platform/apps/edr-passenger-web/portal/src/services/stations.service.ts
2026-05-12 15:17:16 +03:00

11 lines
248 B
TypeScript

import type { Passenger } from '@edr/types';
import { api } from '../utils/api';
export const stationsService = {
list: async (): Promise<Passenger.IStation[]> => {
const { data } = await api.get('/stations');
return data.data;
},
};