diff --git a/lib/api/client.ts b/lib/api/client.ts index 3a473cd..3aaed0b 100644 --- a/lib/api/client.ts +++ b/lib/api/client.ts @@ -3,7 +3,7 @@ import type { ApiError } from "@/typings"; type Body = undefined | FormData | Record; export class ApiClient { - constructor(private baseUrl: string) { } + constructor(private baseUrl: string) {} private async request(method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE", path: string, body?: Body): Promise<{ data: T; error: null; } | { data: null; error: string; }> { const headers: Record = {};