Skip to content

Commit

Permalink
Feature: 세션 제목 수정 기능 구현 (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
Youthhing authored Jun 27, 2024
1 parent 67cc6bf commit d8485ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,8 @@ public void changePhotoUrl(S3Info photoUrl) {
public void updateSessionContents(SessionContents sessionContents) {
this.sessionContents = sessionContents;
}

public void updateSessionTitle(String title){
this.title = title;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ public void updateSession(UpdateSessionRequest request) throws ImageException {
Session session = findSessionById(request.sessionId());

session.updateDescription(request.description());
session.updateSessionTitle(request.title());
session.updateSessionContents(SessionContents.builder()
.csEducation(request.csEducation())
.devTalk(request.devTalk())
Expand Down

0 comments on commit d8485ac

Please sign in to comment.