Skip to content

Commit

Permalink
feat : 북마크 서비스 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
Gyaak committed Aug 16, 2024
1 parent 4ddb8a9 commit 135279d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class BookmarkService {
private final UserRepository userRepository;
private final ContentAccessValidator contentAccessValidator;

public BookmarkRespDto create(BookmarkReqDto dto, Long userId) throws BookmarkUserNotFoundException {
public BookmarkRespDto createBookmark(BookmarkReqDto dto, Long userId) throws BookmarkUserNotFoundException {
UserEntity user = userRepository.findById(userId).orElseThrow(BookmarkUserNotFoundException::new);
BookmarkEntity bookmark = dto.toEntity(user);
dto.details().stream()
Expand Down

0 comments on commit 135279d

Please sign in to comment.