Update src/main/kotlin/dev/usbharu/hideout/activitypub/service/activity/delete/APDeleteProcessor.kt

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
usbharu
2023-12-13 17:31:11 +09:00
committed by GitHub
parent 8aba7ecdc1
commit 3214d2041e
@@ -34,7 +34,6 @@ class APDeleteProcessor(
throw IllegalActivityPubObjectException("object hasn't id or object") throw IllegalActivityPubObjectException("object hasn't id or object")
} }
try { try {
val actor = actorQueryService.findByUrl(deleteId) val actor = actorQueryService.findByUrl(deleteId)
userService.deleteRemoteActor(actor.id) userService.deleteRemoteActor(actor.id)