Files
edr-platform/apps/edr-passenger-web/portal/src/services/stations.service.ts
Michael Abebe 1c5ee19388 chore: fmt
2026-05-12 16:50:18 +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;
},
};