mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 16:43:16 +00:00
remove default value since provide on getDocs
This commit is contained in:
@@ -3,10 +3,10 @@ import endpoints from '../endpoints';
|
||||
|
||||
const userService = {
|
||||
getDocs: (
|
||||
sort = 'date',
|
||||
order = 'desc',
|
||||
pageNumber = 1,
|
||||
rowsPerPage = 10,
|
||||
sort: string,
|
||||
order: string,
|
||||
pageNumber: number,
|
||||
rowsPerPage: number,
|
||||
): Promise<any> =>
|
||||
apiClient.get(
|
||||
`${endpoints.USER.DOCS}?sort=${sort}&order=${order}&page=${pageNumber}&rows=${rowsPerPage}`,
|
||||
|
||||
Reference in New Issue
Block a user