Skip to content

Commit

Permalink
refactor: Long타입 응답을 String으로 변경한다
Browse files Browse the repository at this point in the history
  • Loading branch information
devxb committed Mar 7, 2024
1 parent e5bc334 commit 24e8bf1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

public record SurveyBookmarkedResponse(
@JsonProperty("survey_id")
Long surveyId
String surveyId
) {

public static SurveyBookmarkedResponse of(Long surveyId) {
return new SurveyBookmarkedResponse(surveyId);
return new SurveyBookmarkedResponse(surveyId.toString());
}
}

0 comments on commit 24e8bf1

Please sign in to comment.