diff --git a/src/main/kotlin/dev/usbharu/hideout/Application.kt b/src/main/kotlin/dev/usbharu/hideout/Application.kt index 487dcb65..baeec6e5 100644 --- a/src/main/kotlin/dev/usbharu/hideout/Application.kt +++ b/src/main/kotlin/dev/usbharu/hideout/Application.kt @@ -80,7 +80,7 @@ fun Application.parent() { single { ActivityPubFollowServiceImpl(get(), get(), get(), get()) } single { ActivityPubServiceImpl(get(), get()) } single { UserService(get(),get()) } - single { ActivityPubUserServiceImpl(get(), get(), get()) } + single { ActivityPubUserServiceImpl(get(), get()) } single { ActivityPubNoteServiceImpl(get(), get(), get()) } single { PostService(get(), get()) } single { PostRepositoryImpl(get(), get()) } diff --git a/src/main/kotlin/dev/usbharu/hideout/service/activitypub/ActivityPubUserServiceImpl.kt b/src/main/kotlin/dev/usbharu/hideout/service/activitypub/ActivityPubUserServiceImpl.kt index 57d73d39..014f3ffa 100644 --- a/src/main/kotlin/dev/usbharu/hideout/service/activitypub/ActivityPubUserServiceImpl.kt +++ b/src/main/kotlin/dev/usbharu/hideout/service/activitypub/ActivityPubUserServiceImpl.kt @@ -8,7 +8,6 @@ import dev.usbharu.hideout.domain.model.ap.Key import dev.usbharu.hideout.domain.model.ap.Person import dev.usbharu.hideout.exception.UserNotFoundException import dev.usbharu.hideout.exception.ap.IllegalActivityPubObjectException -import dev.usbharu.hideout.service.IUserAuthService import dev.usbharu.hideout.service.impl.UserService import dev.usbharu.hideout.util.HttpUtil.Activity import io.ktor.client.* @@ -20,7 +19,6 @@ import java.time.Instant class ActivityPubUserServiceImpl( private val userService: UserService, - private val userAuthService: IUserAuthService, private val httpClient: HttpClient ) : ActivityPubUserService {