-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโll occasionally send you account related emails.
Already on GitHub? Sign in to your account
๐ :: (#114) ๊ฒ์๊ธ ์ข์์ api #115
base: main
Are you sure you want to change the base?
Conversation
Kudos, SonarCloud Quality Gate passed!ย ย |
src/main/java/com/example/moizaspringserver/domain/feed/entity/PublicFeed.java
Outdated
Show resolved
Hide resolved
PublicFeed feed = publicFeedRepository.findById(feedId) | ||
.orElseThrow(() -> FeedNotFoundException.EXCEPTION); | ||
|
||
feed.like(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์์๋ฅผ FeedLike ๊ฐ์ฒด๋ฅผ ์์ฑํ ํ์ ํธ์ถํ๋ ๊ฒ ๋ ์ข์ ๊ฒ ๊ฐ์์
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ใ ใ
FeedLike feedLike = FeedLike.builder() | ||
.id(FeedLikeId.builder() | ||
.user( | ||
userFacade.queryCurrentUser() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
currentUser๋ ๋ฐ๋ก ๋ณ์๋ก ๋นผ๋ ๊ฒ ์ด๋์
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์ฌ์๋ง ์ฐ๋๋ฐ ๊ตณ์ด?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์์
No description provided.