fetch request steps

This commit is contained in:
2026-05-28 17:52:53 +05:30
parent d4a79c785d
commit c920276293
8 changed files with 807 additions and 68 deletions

View File

@@ -46,6 +46,10 @@ export const api = {
if (!_api) throw new Error("API client not initialized");
return _api.delete(...args);
},
patch: (...args: Parameters<AxiosInstance["patch"]>) => {
if (!_api) throw new Error("API client not initialized");
return _api.patch(...args);
},
};
export const auth = {