diff --git a/src/main/kotlin/team8/fruitable/controller/api/Item.kt b/src/main/kotlin/team8/fruitable/controller/api/Item.kt index 1bede53..266ac36 100644 --- a/src/main/kotlin/team8/fruitable/controller/api/Item.kt +++ b/src/main/kotlin/team8/fruitable/controller/api/Item.kt @@ -1,6 +1,5 @@ package team8.fruitable.controller.api -import org.springframework.web.bind.annotation.CookieValue import org.springframework.web.bind.annotation.GetMapping import org.springframework.web.bind.annotation.PathVariable import org.springframework.web.bind.annotation.RestController diff --git a/src/main/kotlin/team8/fruitable/datebase/entity/Recommend.kt b/src/main/kotlin/team8/fruitable/datebase/entity/Recommend.kt index 602d819..4a3a12e 100644 --- a/src/main/kotlin/team8/fruitable/datebase/entity/Recommend.kt +++ b/src/main/kotlin/team8/fruitable/datebase/entity/Recommend.kt @@ -12,7 +12,7 @@ class Recommend ( @OneToOne @JoinColumn(name = "item") - var item: Item, + var item: Item? = null, @Column(name="description", length=32, nullable = false) var description: String? = null,