Skip to content

Commit

Permalink
fix(#21): merge conflict 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
adoo24 committed Aug 20, 2023
1 parent 8685301 commit ac10268
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,20 +150,15 @@ public ResponseEntity<ApiResponse<?>> postOthersManual(
public ResponseEntity<ApiResponse<?>> getMyManual(
@PathVariable String userTypeName,
@AuthorizeUser User user

) {
Manual manual = new Manual();
String userId = user.getId();
manual.setNickname(user.getNickname());
manual.setBaseImage("https://picsum.photos/200/300?random=1");
CharacterItems characterInfoDTO = userUserTypeService.getCharacter(userId, userTypeName);
manual.setCharacterItems(characterService.getAllCharacterItems().getCharacterItems());
manual.setExampleKeywords(keywordService.getAllKeywords());

if(!isNull(user)) {
manual.setNickname(user.getId());
}
manual.setBaseImage("https://picsum.photos/200/300?random=1");
manual.setExampleKeywords(keywordService.getAllKeywords());
manual.setBaseImage("https://picsum.photos/200/300?random=1");
manual.setCharacterItems(characterService.getAllCharacterItems().getCharacterItems());
manual.setQuestions(questionService.getQuestionByQuestionTypeAndUserType(QuestionType.FOR_USER, userTypeName));
return new ResponseEntity<>(
Expand Down

0 comments on commit ac10268

Please sign in to comment.