選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

18 行
577 B

  1. "use server";
  2. import { serverFetchBlob, serverFetchJson } from "@/app/utils/fetchUtil";
  3. import { EX02ProjectCashFlowReportRequest } from ".";
  4. import { BASE_API_URL } from "@/config/api";
  5. export const fetchEX02ProjectCashFlowReport = async (data: EX02ProjectCashFlowReportRequest) => {
  6. const reportBlob = await serverFetchBlob(
  7. `${BASE_API_URL}/reports/EX02-ProjectCashFlowReport`,
  8. {
  9. method: "POST",
  10. body: JSON.stringify(data),
  11. headers: { "Content-Type": "application/json" },
  12. },
  13. );
  14. return reportBlob
  15. };