Skip to content

Commit

Permalink
#63 - fix: 계좌 생성 버그 픽스
Browse files Browse the repository at this point in the history
  • Loading branch information
chaeyeon-yang authored Jul 4, 2024
2 parents 708c19c + 0f86965 commit 0381e26
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import com.hana.api.auth.Auth;
import com.hana.common.config.BaseResponse;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.media.Content;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
Expand Down Expand Up @@ -54,7 +55,7 @@ public BaseResponse.SuccessResult<AccountCheckResponse> createAccount(@Auth Stri
@ApiResponse(responseCode = "1000", description = "계좌조회 성공", content = @Content(schema = @Schema(implementation = BaseResponse.SuccessResult.class))),
})
@GetMapping("/my")
public BaseResponse.SuccessResult<List<AccountCheckResponse>> myAccounts(@Auth String userCode) {
public BaseResponse.SuccessResult<List<AccountCheckResponse>> myAccounts(@Parameter(hidden = true) @Auth String userCode) {

UUID uuid = UUID.fromString(userCode);
return BaseResponse.success(accountService.myAccounts(uuid));
Expand Down

0 comments on commit 0381e26

Please sign in to comment.