mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
12 lines
317 B
TypeScript
12 lines
317 B
TypeScript
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
|
|
import sendRequest from "services";
|
|
import endpoints from "fleet/endpoints";
|
|
|
|
export default {
|
|
getSummary: (teamId: number | undefined) => {
|
|
const { HOST_SUMMARY } = endpoints;
|
|
|
|
return sendRequest("GET", HOST_SUMMARY(teamId));
|
|
},
|
|
};
|