From 7bd10818b2425bac02e44343a311843ee608a408 Mon Sep 17 00:00:00 2001 From: Krishna Date: Thu, 2 May 2024 12:32:53 +0530 Subject: [PATCH] fix: pagination parameter name to sync with backend Signed-off-by: Krishna --- src/api/verification.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/verification.ts b/src/api/verification.ts index f47b654ec..cf32e8bd2 100644 --- a/src/api/verification.ts +++ b/src/api/verification.ts @@ -47,7 +47,7 @@ export const getVerificationList = async ({ sortingOrder, }: IConnectionListAPIParameter) => { const orgId = await getFromLocalStorage(storageKeys.ORG_ID); - const url = `${apiRoutes.organizations.root}/${orgId}${apiRoutes.Verification.verifyCredential}?pageSize=${itemPerPage}&pageNumber=${page}&searchByText=${search}&sortBy=${sortingOrder}&sortField=${sortBy}`; + const url = `${apiRoutes.organizations.root}/${orgId}${apiRoutes.Verification.verifyCredential}?pageSize=${itemPerPage}&pageNumber=${page}&search=${search}&sortBy=${sortingOrder}&sortField=${sortBy}`; const axiosPayload = { url,