diff --git a/frontend/src/api/projectApi.ts b/frontend/src/api/projectApi.ts index d122996..526b4e5 100644 --- a/frontend/src/api/projectApi.ts +++ b/frontend/src/api/projectApi.ts @@ -5,14 +5,14 @@ export async function getProjectList( workspaceId: number, memberId: number, lastProjectId?: number, - limit: number = 50 + limitPage: number = 50 ) { return api .get(`/workspaces/${workspaceId}/projects`, { params: { memberId, lastProjectId, - limit, + limitPage, }, }) .then(({ data }) => data); diff --git a/frontend/src/api/workspaceApi.ts b/frontend/src/api/workspaceApi.ts index 08480a1..acd31c8 100644 --- a/frontend/src/api/workspaceApi.ts +++ b/frontend/src/api/workspaceApi.ts @@ -8,10 +8,10 @@ import { ReviewStatus, } from '@/types'; -export async function getWorkspaceList(memberId: number, lastWorkspaceId?: number, limit?: number) { +export async function getWorkspaceList(memberId: number, lastWorkspaceId?: number, limitPage: number = 30) { return api .get('/workspaces', { - params: { memberId, lastWorkspaceId, limit }, + params: { memberId, lastWorkspaceId, limitPage }, }) .then(({ data }) => data); }