mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-07 11:55:42 +00:00
11 lines
248 B
TypeScript
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;
|
|
},
|
|
};
|