FPSMS-frontend
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 3 недеља
12345678910111213
  1. "use client";
  2. import axiosInstance from "@/app/(main)/axios/axiosInstance";
  3. import { NEXT_PUBLIC_API_URL } from "@/config/api";
  4. import type { BomScoreResult } from "./index";
  5. export const fetchBomScoresClient = async (): Promise<BomScoreResult[]> => {
  6. const response = await axiosInstance.get<BomScoreResult[]>(
  7. `${NEXT_PUBLIC_API_URL}/bom/scores`,
  8. );
  9. return response.data;
  10. };