fix: レスポンスコードを修正2

This commit is contained in:
usbharu 2023-04-01 09:17:22 +09:00
parent e31fb517ac
commit 2e9d875ee6
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ fun Application.userActivityPubRouting(activityPubService: ActivityPubService, a
ActivityPubService.ActivityType.Follow -> { ActivityPubService.ActivityType.Follow -> {
val readValue = Config.configData.objectMapper.readValue<Follow>(bodyText) val readValue = Config.configData.objectMapper.readValue<Follow>(bodyText)
activityPubUserService.receiveFollow(readValue) activityPubUserService.receiveFollow(readValue)
return@post call.respond(HttpStatusCode.Created) return@post call.respond(HttpStatusCode.Accepted)
} }
ActivityPubService.ActivityType.Undo -> { ActivityPubService.ActivityType.Undo -> {