style: fix linting issues met Prettier

This commit is contained in:
Lint Action 2025-04-20 18:54:34 +00:00
parent 906eb36fec
commit 6017d9c54f
4 changed files with 12 additions and 7 deletions

View file

@ -1,7 +1,7 @@
import apiClient from "@/services/api-client/api-client.ts";
import type { AxiosResponse, ResponseType } from "axios";
import { HttpErrorResponseException } from "@/exception/http-error-response-exception.ts";
import { apiConfig } from '@/config.ts';
import { apiConfig } from "@/config.ts";
export abstract class BaseController {
protected basePath: string;
@ -25,7 +25,9 @@ export abstract class BaseController {
if (error instanceof HttpErrorResponseException) {
throw error;
}
throw new Error(`An unexpected error occurred while fetching data from ${apiConfig.baseUrl}${this.absolutePathFor(path)}: ${error}`);
throw new Error(
`An unexpected error occurred while fetching data from ${apiConfig.baseUrl}${this.absolutePathFor(path)}: ${error}`,
);
}
}