From 2e9d875ee647849f8681791d4ee07337d16b6e43 Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Sat, 1 Apr 2023 09:17:22 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E3=83=AC=E3=82=B9=E3=83=9D=E3=83=B3?= =?UTF-8?q?=E3=82=B9=E3=82=B3=E3=83=BC=E3=83=89=E3=82=92=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dev/usbharu/hideout/routing/userActivityPubRouting.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -> {