Skip to content

Commit

Permalink
Merge pull request #200 from WonJongWoon/feat/#199
Browse files Browse the repository at this point in the history
[REFACTOR] 고구마 조회시 읽음 기준 변경
  • Loading branch information
WonJongWoon authored Feb 26, 2021
2 parents d55c6b9 + 614834e commit 4012d79
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public GogumaResponse lookUp(Long articleId, Long gogumaId, String userId) {
Article article = articleService.findArticleById(articleId);
Goguma goguma = article.lookUpGoguma(gogumaId);

if (goguma.getUserId().equals(userId)) {
if (article.getUserId().equals(userId)) {
goguma.read();
}

Expand Down

0 comments on commit 4012d79

Please sign in to comment.