Skip to content

Commit

Permalink
hotfix : ApiResponseDto 타입 지정
Browse files Browse the repository at this point in the history
  • Loading branch information
lreowy committed Sep 12, 2024
1 parent 8c95d90 commit 57f3c43
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.pickple.server.api.guest.controller;

import com.pickple.server.api.guest.dto.request.GuestUpdateRequest;
import com.pickple.server.api.guest.dto.response.GuestGetResponse;
import com.pickple.server.api.guest.service.GuestCommandService;
import com.pickple.server.api.guest.service.GuestQueryService;
import com.pickple.server.global.response.ApiResponseDto;
Expand Down Expand Up @@ -30,7 +31,7 @@ public ApiResponseDto updateGuestProfile(@PathVariable final Long guestId,
}

@GetMapping("/v2/guest/{guestId}")
public ApiResponseDto getGuest(@PathVariable final Long guestId) {
public ApiResponseDto<GuestGetResponse> getGuest(@PathVariable final Long guestId) {
return ApiResponseDto.success(SuccessCode.GUEST_GET_SUCCESS, guestQueryService.getGuest(guestId));
}

Expand Down

0 comments on commit 57f3c43

Please sign in to comment.