Refactor: 프로젝트, 워크스페이스 가져오는 limit 증가 시켜둠, 추후 인피니트 쿼리 고려

This commit is contained in:
정현조 2024-09-23 14:56:25 +09:00
parent 2bc10e898a
commit 77523dfa3e
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ export async function getProjectList(
workspaceId: number,
memberId: number,
lastProjectId?: number,
limit: number = 10
limit: number = 50
) {
return api
.get<ProjectListResponse>(`/workspaces/${workspaceId}/projects`, {

View File

@ -60,7 +60,7 @@ export async function getWorkspaceReviews(
memberId: number,
reviewStatus?: 'REQUESTED' | 'APPROVED' | 'REJECTED',
lastReviewId?: number,
limitPage: number = 10
limitPage: number = 50
) {
return api
.get<ReviewResponse[]>(`/workspaces/${workspaceId}/reviews`, {