Skip to content

Commit

Permalink
Test: readOnly = false
Browse files Browse the repository at this point in the history
hjinshin committed Nov 14, 2024
1 parent da7dadd commit 2778ee7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ public class ProfileService {
private final ApplicationEventPublisher eventPublisher;
private final S3Service s3Service;

@Transactional(readOnly = true)
@Transactional
public ProfileModel.Info getProfile(Long userId, String visitorIp) {
Profile profile = profileReaderService.getByUserId(userId);
String imageUrl = profile.getUsers().getImageUrl();

0 comments on commit 2778ee7

Please sign in to comment.