Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions backend/ongi/src/main/java/ongi/maum_log/dto/MaumLogDto.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ public record MaumLogDto(
String comment,
String location,
List<Emotion> emotions,
UUID uploader
UUID uploader,
String uploaderName
) {
public static MaumLogDto of(URL frontPresignedUrl, URL backPresignedUrl, MaumLog maumLog) {
return new MaumLogDto(
Expand All @@ -21,7 +22,8 @@ public static MaumLogDto of(URL frontPresignedUrl, URL backPresignedUrl, MaumLog
maumLog.getComment(),
maumLog.getLocation(),
maumLog.getEmotions(),
maumLog.getCreatedBy().getUuid()
maumLog.getCreatedBy().getUuid(),
maumLog.getCreatedBy().getName()
);
}
}
Loading