profile page connected to backend and PATCH added, plagiatCheck updated and sertificate generate updated base backend types
This commit is contained in:
@@ -178,7 +178,7 @@ api.interceptors.response.use(
|
||||
// ─── Public request function ───────────────────────────────────────────────────
|
||||
|
||||
export const apiRequest = async <T>(
|
||||
method: 'GET' | 'POST' | 'PUT' | 'DELETE',
|
||||
method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE',
|
||||
url: string,
|
||||
data?: unknown,
|
||||
config?: Omit<AxiosRequestConfig, 'method' | 'url' | 'data'>,
|
||||
|
||||
Reference in New Issue
Block a user