FPSMS-frontend
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

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. };