Skip to content

Commit

Permalink
[fix] add promiseName in Promise detail API (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
chaewonni authored Jul 18, 2024
1 parent 700c076 commit eaf37f7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

public record PromiseDto(
Long promiseId,
String promiseName,
String placeName,
String address,
String roadAddress,
Expand All @@ -18,6 +19,7 @@ public record PromiseDto(
public static PromiseDto from(Promise promise) {
return new PromiseDto(
promise.getId(),
promise.getName(),
promise.getPlaceName(),
promise.getAddress(),
promise.getRoadAddress(),
Expand Down

0 comments on commit eaf37f7

Please sign in to comment.