Skip to content

Commit

Permalink
fix : add isBookmark field (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
kshired authored May 24, 2024
1 parent 08e62de commit c8b029f
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ data class TravelPlanResponse(
val thumbnail: String,
val userInput: UserInputResponse,
val budget: BudgetResponse,
val travelPlan: List<TravelPlanDetailResponse>
val travelPlan: List<TravelPlanDetailResponse>,
val isBookmarked: Boolean
) {
constructor(travelPlan: TravelPlan, travelPlanKeywords: List<TravelPlanKeyword>) : this(
id = travelPlan.id,
Expand Down Expand Up @@ -45,6 +46,7 @@ data class TravelPlanResponse(
)
}
)
}
},
isBookmarked = travelPlan.isBookmarked
)
}

0 comments on commit c8b029f

Please sign in to comment.