Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
L-U-Ready committed Nov 28, 2024
2 parents 13ec58c + cc424d0 commit 7202968
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ public String unScrapArticle() {

scrapRepository.deleteAll(scraps);

articleRepository.updateScrappedStatusToFalse(originalArticleIds);
for (Long originalArticleId : originalArticleIds) {
Article article = findArticleById(originalArticleId);
article.setScrapStatus(false);
}

return "스크랩 취소 완료";

Expand Down

0 comments on commit 7202968

Please sign in to comment.