From 364b42a734a9b201eb307b590c657fb3fe604d5d Mon Sep 17 00:00:00 2001 From: shunmugam Date: Wed, 11 Sep 2019 17:45:13 +0530 Subject: [PATCH] Remove unwanted consoles --- server/controllers/BlockchainBlock.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/controllers/BlockchainBlock.ts b/server/controllers/BlockchainBlock.ts index 125d34d..1dcd88b 100644 --- a/server/controllers/BlockchainBlock.ts +++ b/server/controllers/BlockchainBlock.ts @@ -1012,7 +1012,7 @@ export class BlockchainBlockController { // MaxPages, PageSize, }: BlockchainBlockPaginationDto = request.query; - console.log("Page size",PageSize); + if (parseInt(CurrentPage) == NaN) { next(new IntegerValidationException('CurrentPage')); } else if (parseInt(PageSize) == NaN) { @@ -1082,7 +1082,6 @@ export class BlockchainBlockController { .groupBy('blockchain_block.Hash') .getRawAndEntities(); - console.log("page.size", PaginationReponseData.pageSize + 1); let BlockchainBlockResult = BlockchainBlockPaginationQuery.raw; BlockchainBlockResult.splice(-1,1);