remove params on getDocs

This commit is contained in:
fadingNA
2024-11-09 14:57:30 -05:00
parent d59ffaf0bd
commit f3a005a667
3 changed files with 4 additions and 9 deletions

View File

@@ -2,8 +2,7 @@ import apiClient from '../client';
import endpoints from '../endpoints';
const userService = {
getDocs: (sort: string, order: string): Promise<any> =>
apiClient.get(`${endpoints.USER.DOCS}?sort=${sort}&order=${order}`),
getDocs: (): Promise<any> => apiClient.get(`${endpoints.USER.DOCS}`),
getDocsWithPagination: (query: string): Promise<any> =>
apiClient.get(`${endpoints.USER.DOCS_PAGINATED}?${query}`),
checkDocs: (data: any): Promise<any> =>