Toggle navigation
Toggle navigation
This project
Loading...
Sign in
엄성진
/
learn-in-web-backend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sungjin
2021-12-04 17:20:41 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f7a51f0dec4c5d4e5abb76222c8bf40197263be8
f7a51f0d
1 parent
025efff6
Hotfix getpost likes count err
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/post/post.service.ts
src/post/post.service.ts
View file @
f7a51f0
...
...
@@ -104,7 +104,7 @@ export class PostService {
});
const
likes
=
await
this
.
prisma
.
postLike
.
count
({
where
:
{
postId
:
id
,
postId
:
num
,
},
});
const
returndata
=
{
...
...
Please
register
or
login
to post a comment