status
This commit is contained in:
1 parent
cfb1830b55
commit
abadc99bf1
16 files changed
+368
-17
No files matched your search
@@ -18,4 +18,10 @@ export const post = <T>(
|
||||
config: AxiosRequestConfig = {}
|
||||
): Promise<AxiosResponse<T>> => api.post<T>(url, data, config);
|
||||
|
||||
export const patch = <T>(
|
||||
url: string,
|
||||
data: any,
|
||||
config: AxiosRequestConfig = {}
|
||||
): Promise<AxiosResponse<T>> => api.patch<T>(url, data, config);
|
||||
|
||||
export default api;
|
||||
Reference in new issue
Block a user