Skip to content

Commit

Permalink
Merge pull request #146 from ShallWeProject/hotfix/collision-resolve
Browse files Browse the repository at this point in the history
충돌 해결
  • Loading branch information
leeseunghakhello authored Nov 8, 2023
2 parents 12ba5d3 + cc22851 commit 9f87630
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ public AdminMainRes mainAdminExperienceGift(UserPrincipal userPrincipal) {
Long bookedReservationsCount = reservationRepository.countByExperienceGift_ShopOwnerAndReservationStatus(shopOwner, ReservationStatus.WAITING);

return AdminMainRes.toDto(currentDate, bookedReservationsCount);
}

@Override
public List<AdminExperienceRes> getExperienceGift(UserPrincipal userPrincipal) {
Long userId = userPrincipal.getId();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public ResponseCustom<AdminMainRes> mainAdminExperienceGift(
@Parameter(description = "AccessToken 을 입력해주세요.", required = true) @CurrentUser UserPrincipal userPrincipal
) {
return ResponseCustom.OK(experienceGiftService.mainAdminExperienceGift(userPrincipal));
}
@Operation(summary = "관리자 경험 선물 조회", description = "관리자 경험 선물 조회합니다.")
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "관리자 경험 선물 조회 성공",content = {@Content(mediaType = "application/json", schema = @Schema(implementation = AdminExperienceRes.class))}),
Expand Down

0 comments on commit 9f87630

Please sign in to comment.