Skip to content

Commit

Permalink
fix: type number (#464)
Browse files Browse the repository at this point in the history
Signed-off-by: karan <karan.tompe@ayanworks.com>
Signed-off-by: KulkarniShashank <shashank.kulkarni@ayanworks.com>
  • Loading branch information
16-karan authored and KulkarniShashank committed Sep 11, 2024
1 parent 936b6ef commit 32d02f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/issuance/src/issuance.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,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
Expand Down Expand Up @@ -719,7 +719,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
Expand Down

0 comments on commit 32d02f5

Please sign in to comment.