Skip to content

Commit

Permalink
hotfix: content에 들어가는 closer를 json으로 묶어서 직렬화한다.
Browse files Browse the repository at this point in the history
  • Loading branch information
great-park committed Aug 11, 2023
1 parent 663a97f commit d1bd186
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package swm.hkcc.LGTM.app.modules.mission.dto;

import lombok.Builder;
import lombok.Getter;

@Getter
@Builder
public class MissionCloserDto {
private String closer;
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import swm.hkcc.LGTM.app.modules.mission.domain.MissionContentSequence;
import swm.hkcc.LGTM.app.modules.mission.domain.holder.MissionItemHolder;
import swm.hkcc.LGTM.app.modules.mission.domain.serverDrivenUI.HomeServerDrivenUISequenceFactory;
import swm.hkcc.LGTM.app.modules.mission.dto.MissionCloserDto;
import swm.hkcc.LGTM.app.modules.mission.dto.MissionTitleDto;
import swm.hkcc.LGTM.app.modules.serverDrivenUI.ServerDrivenContent;
import swm.hkcc.LGTM.app.modules.serverDrivenUI.ServerDrivenContents;
Expand Down Expand Up @@ -87,6 +88,9 @@ private ServerDrivenContent getMissionTitle(MissionContentType missionContentTyp

private ServerDrivenContent getMissionCloser(MissionContentType missionContentType) {
return ServerDrivenContent.from(
MissionCloserDto.builder()
.closer(missionContentType.getViewType().getName())
.build(),
missionContentType.getTheme(),
missionContentType.getViewType()
);
Expand Down

0 comments on commit d1bd186

Please sign in to comment.