diff --git a/apps/issuance/src/issuance.service.ts b/apps/issuance/src/issuance.service.ts index c491ab853..2ed520400 100644 --- a/apps/issuance/src/issuance.service.ts +++ b/apps/issuance/src/issuance.service.ts @@ -679,7 +679,7 @@ export class IssuanceService { totalItems: fileData.fileCount, hasNextPage: getAllfileDetails.pageSize * getAllfileDetails.pageNumber < fileData.fileCount, hasPreviousPage: 1 < getAllfileDetails.pageNumber, - nextPage: getAllfileDetails.pageNumber + 1, + nextPage: Number(getAllfileDetails.pageNumber) + 1, previousPage: getAllfileDetails.pageNumber - 1, lastPage: Math.ceil(fileData.fileCount / getAllfileDetails.pageSize), data: fileData.fileDataList @@ -708,7 +708,7 @@ export class IssuanceService { totalItems: fileDetails.fileCount, hasNextPage: getAllfileDetails.pageSize * getAllfileDetails.pageNumber < fileDetails.fileCount, hasPreviousPage: 1 < getAllfileDetails.pageNumber, - nextPage: getAllfileDetails.pageNumber + 1, + nextPage: Number(getAllfileDetails.pageNumber) + 1, previousPage: getAllfileDetails.pageNumber - 1, lastPage: Math.ceil(fileDetails.fileCount / getAllfileDetails.pageSize), data: fileDetails.fileList