sungjin

Hotfix getpost likes count err

...@@ -104,7 +104,7 @@ export class PostService { ...@@ -104,7 +104,7 @@ export class PostService {
104 }); 104 });
105 const likes = await this.prisma.postLike.count({ 105 const likes = await this.prisma.postLike.count({
106 where: { 106 where: {
107 - postId: id, 107 + postId: num,
108 }, 108 },
109 }); 109 });
110 const returndata = { 110 const returndata = {
......