diff --git a/src/main/kotlin/dev/usbharu/hideout/routing/userActivityPubRouting.kt b/src/main/kotlin/dev/usbharu/hideout/routing/userActivityPubRouting.kt index 00a85622..1a795d6c 100644 --- a/src/main/kotlin/dev/usbharu/hideout/routing/userActivityPubRouting.kt +++ b/src/main/kotlin/dev/usbharu/hideout/routing/userActivityPubRouting.kt @@ -29,7 +29,7 @@ fun Application.userActivityPubRouting(activityPubService: ActivityPubService, a ActivityPubService.ActivityType.Follow -> { val readValue = Config.configData.objectMapper.readValue(bodyText) activityPubUserService.receiveFollow(readValue) - return@post call.respond(HttpStatusCode.Created) + return@post call.respond(HttpStatusCode.Accepted) } ActivityPubService.ActivityType.Undo -> {