fix: prettier
All checks were successful
Format / formatting (push) Successful in 5s
Build / build (push) Successful in 40s
CI / build (push) Successful in 12s
Format / formatting (pull_request) Successful in 6s

This commit is contained in:
2025-04-29 00:42:59 +02:00
parent b5637e4552
commit 351727f3d5
4 changed files with 10 additions and 8 deletions

View File

@@ -1,11 +1,13 @@
import { type AxiosError, type AxiosResponse } from "axios";
import Project from "@/ApiClasses/Project";
import SectionCell from "@/ApiClasses/SectionCell";
import { axiosInstance, defaultApiErrorHandler, defaultApiSuccessHandler } from "@/services/api"
import {
axiosInstance,
defaultApiErrorHandler,
defaultApiSuccessHandler,
} from "@/services/api";
// Entrepreneurs API
// Entrepreneurs API
function requestProjectCreation(
projectDetails: Project, // Replace 'any' with a proper type for project details if available
onSuccessHandler?: (response: AxiosResponse) => void,
@@ -35,7 +37,7 @@ function addSectionCell(
onErrorHandler?: (error: AxiosError) => void
): void {
axiosInstance
.post("/entrepreneur/sectionCells", sectionCellDetails.toPlainObject())
.post("/entrepreneur/sectionCells", sectionCellDetails.toPlainObject())
.then((response) => {
if (onSuccessHandler) {
onSuccessHandler(response);