Skip to content

Commit

Permalink
fix : 연결 계정 조회 시 피그마 유저 id가 아닌 피그마 id가 조회되도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
iiqcov committed Nov 26, 2024
1 parent 74c5464 commit 17a89a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public List<FigmaAccountResponse> getFigmaAccount() {
final Member currentMember = memberUtil.getCurrentMember();
List<Figma> figmaList = figmaRepository.findByMemberAndDeletedAtIsNull(currentMember);
return figmaList.stream()
.map(figma -> new FigmaAccountResponse(figma.getFigmaUserId(), figma.getEmail()))
.map(figma -> new FigmaAccountResponse(figma.getFigmaId(), figma.getEmail()))
.toList();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)
public record FigmaAccountResponse(String figmaId, String email) {}
public record FigmaAccountResponse(Long figmaId, String email) {}

0 comments on commit 17a89a1

Please sign in to comment.