diff --git a/src/main/kotlin/dev/usbharu/hideout/domain/model/ap/Accept.kt b/src/main/kotlin/dev/usbharu/hideout/domain/model/ap/Accept.kt index 7b6d397a..b2274eb6 100644 --- a/src/main/kotlin/dev/usbharu/hideout/domain/model/ap/Accept.kt +++ b/src/main/kotlin/dev/usbharu/hideout/domain/model/ap/Accept.kt @@ -2,7 +2,6 @@ package dev.usbharu.hideout.domain.model.ap open class Accept : Object { var `object`: Object? = null - var actor: String? = null protected constructor() : super() constructor( @@ -10,9 +9,8 @@ open class Accept : Object { name: String, `object`: Object?, actor: String? - ) : super(add(type, "Accept"), name) { + ) : super(add(type, "Accept"), name,actor) { this.`object` = `object` - this.actor = actor } override fun equals(other: Any?): Boolean { diff --git a/src/main/kotlin/dev/usbharu/hideout/domain/model/ap/Follow.kt b/src/main/kotlin/dev/usbharu/hideout/domain/model/ap/Follow.kt index 9ed6e67a..cf6d1303 100644 --- a/src/main/kotlin/dev/usbharu/hideout/domain/model/ap/Follow.kt +++ b/src/main/kotlin/dev/usbharu/hideout/domain/model/ap/Follow.kt @@ -2,7 +2,6 @@ package dev.usbharu.hideout.domain.model.ap open class Follow : Object { var `object`: String? = null - var actor: String? = null protected constructor() : super() constructor( @@ -10,9 +9,8 @@ open class Follow : Object { name: String, `object`: String?, actor: String? - ) : super(add(type, "Follow"), name) { + ) : super(add(type, "Follow"), name,actor) { this.`object` = `object` - this.actor = actor }