mirror of https://github.com/usbharu/Hideout.git
fix: レスポンスコードを修正2
This commit is contained in:
parent
e31fb517ac
commit
2e9d875ee6
|
@ -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 -> {
|
||||||
|
|
Loading…
Reference in New Issue