diff --git a/src/grants/data/get-grantee-details.ts b/src/grants/data/get-grantee-details.ts index f6d3fdc..f2744c6 100644 --- a/src/grants/data/get-grantee-details.ts +++ b/src/grants/data/get-grantee-details.ts @@ -3,14 +3,14 @@ import { mwGET } from '@/shared/utils/mw-get'; import { grantQueryUrls } from '@/grants/core/query-urls'; import { granteeDtoSchema } from '@/grants/core/schemas'; -import { fakeGrantee } from '@/grants/testutils/fake-grantee'; +// import { fakeGrantee } from '@/grants/testutils/fake-grantee'; export const getGranteeDetails = async (granteeId: string) => { - return { - success: true, - message: 'Grantee details fetched successfully', - data: fakeGrantee(), - }; + // return { + // success: true, + // message: 'Grantee details fetched successfully', + // data: fakeGrantee(), + // }; return mwGET({ url: `${grantQueryUrls.GRANTEE_DETAILS}/${granteeId}`, diff --git a/src/grants/data/get-grantee-list.ts b/src/grants/data/get-grantee-list.ts index 1ed3974..98177f3 100644 --- a/src/grants/data/get-grantee-list.ts +++ b/src/grants/data/get-grantee-list.ts @@ -8,7 +8,7 @@ import { granteeInfiniteListPageSchema, } from '@/grants/core/schemas'; -import { fakeGrantees } from '@/grants/testutils/fake-grantee'; +// import { fakeGrantees } from '@/grants/testutils/fake-grantee'; interface Props { page: number; @@ -16,17 +16,17 @@ interface Props { grantId: string; } -const data = fakeGrantees(); +// const data = fakeGrantees(); export const getGranteeList = async ({ page, grantId, searchParams = '', }: Props): Promise => { - return { - page: page + 1, - data, - }; + // return { + // page: page + 1, + // data, + // }; const url = createUrlWithSearchParams( `${grantQueryUrls.grantees(grantId)}?page=${page}&limit=${PAGE_SIZE}&grantId=${grantId}`,