Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -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 = { | ... | ... |
-
Please register or login to post a comment