diff --git a/src/providers/news/hacker/hacker.pvd.ts b/src/providers/news/hacker/hacker.pvd.ts index e943cee..2f6bad7 100755 --- a/src/providers/news/hacker/hacker.pvd.ts +++ b/src/providers/news/hacker/hacker.pvd.ts @@ -42,7 +42,7 @@ export class HackersNewsProvider { }; }); - return { result: returnData, total: totalCount }; + return { result: returnData, total: Math.ceil(totalCount/size) }; } async giveStar(postUuid: string, email: string): Promise {