Skip to content

Commit

Permalink
fix: Modify Place Origin Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dhyeonkim committed Sep 6, 2024
1 parent b9b8673 commit fd78c6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ class PlaceService(
modifyPlaceRequest.toDomain(
targetPlaceId,
targetRoomUid,
place.origin,
LongTypeId(modifyPlaceRequest.scheduleId),
filterDuplicateUrls(updatedUrls, modifyPlaceRequest.deleteTargetUrls, place),
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ data class ModifyPlaceRequest(
fun toDomain(
targetPlaceId: LongTypeId,
roomUid: UuidTypeId,
origin: Origin,
scheduleId: LongTypeId,
updatedUrls: List<String>,
): Place {
Expand All @@ -147,7 +148,7 @@ data class ModifyPlaceRequest(
address = address,
phoneNumber = phoneNumber,
starGrade = starGrade,
origin = Origin.MANUAL,
origin = origin,
memo = memo,
confirmed = false,
reviewCount = reviewCount,
Expand Down

0 comments on commit fd78c6f

Please sign in to comment.