mirror of https://github.com/usbharu/Hideout.git
refactor: 不要な依存を削除
This commit is contained in:
parent
b91716bba2
commit
c30a813900
|
@ -3,7 +3,6 @@ package dev.usbharu.hideout.service.post
|
||||||
import dev.usbharu.hideout.domain.mastodon.model.generated.Status
|
import dev.usbharu.hideout.domain.mastodon.model.generated.Status
|
||||||
import dev.usbharu.hideout.domain.model.hideout.entity.Timeline
|
import dev.usbharu.hideout.domain.model.hideout.entity.Timeline
|
||||||
import dev.usbharu.hideout.query.mastodon.StatusQueryService
|
import dev.usbharu.hideout.query.mastodon.StatusQueryService
|
||||||
import dev.usbharu.hideout.repository.MongoTimelineRepository
|
|
||||||
import org.springframework.data.mongodb.core.MongoTemplate
|
import org.springframework.data.mongodb.core.MongoTemplate
|
||||||
import org.springframework.data.mongodb.core.query.Criteria
|
import org.springframework.data.mongodb.core.query.Criteria
|
||||||
import org.springframework.data.mongodb.core.query.Query
|
import org.springframework.data.mongodb.core.query.Query
|
||||||
|
@ -11,7 +10,6 @@ import org.springframework.stereotype.Service
|
||||||
|
|
||||||
@Service
|
@Service
|
||||||
class MongoGenerateTimelineService(
|
class MongoGenerateTimelineService(
|
||||||
private val mongoTimelineRepository: MongoTimelineRepository,
|
|
||||||
private val statusQueryService: StatusQueryService,
|
private val statusQueryService: StatusQueryService,
|
||||||
private val mongoTemplate: MongoTemplate
|
private val mongoTemplate: MongoTemplate
|
||||||
) :
|
) :
|
||||||
|
|
Loading…
Reference in New Issue