Skip to content

Commit 17618d6

Browse files
authored
Merge pull request #54 from oodd-team/OD-38-new
isPostLike 수정
2 parents b2167a5 + 332318c commit 17618d6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/post/post.service.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -152,16 +152,17 @@ export class PostService {
152152
'post.isRepresentative',
153153
'post.createdAt',
154154
'user.id',
155-
'postImage.url',
155+
'postImage',
156156
'postComment.id',
157-
'postLike.id',
157+
'postLike',
158158
'postLikeUser.id',
159159
'postCommentUser.id',
160160
])
161161
.orderBy('post.createdAt', 'DESC')
162162
.take(pageOptionsDto.take)
163163
.skip((pageOptionsDto.page - 1) * pageOptionsDto.take)
164164
.getManyAndCount();
165+
165166
return {
166167
posts:
167168
userId === currentUserId

0 commit comments

Comments
 (0)