put/create
This commit is contained in:
1 parent
f538f61464
commit
67da6c61cf
9 files changed
+210
-100
No files matched your search
@@ -67,6 +67,12 @@ export const patch = <T>(
|
||||
config: AxiosRequestConfig = {}
|
||||
): Promise<AxiosResponse<T>> => api.patch<T>(url, data, config);
|
||||
|
||||
export const put = <T>(
|
||||
url: string,
|
||||
data: unknown,
|
||||
config: AxiosRequestConfig = {}
|
||||
): Promise<AxiosResponse<T>> => api.put<T>(url, data, config);
|
||||
|
||||
export const deleteOp = <T>(
|
||||
url: string,
|
||||
config: AxiosRequestConfig = {}
|
||||
|
||||
Reference in new issue
Block a user