mirror of
https://github.com/usbharu/Hideout.git
synced 2026-09-26 15:01:09 +00:00
wip
This commit is contained in:
+5
-1
@@ -32,7 +32,11 @@ class UserAPControllerImpl(private val apUserService: APUserService) : UserAPCon
|
||||
} catch (_: UserNotFoundException) {
|
||||
return ResponseEntity.notFound().build()
|
||||
}
|
||||
person.context += listOf(StringOrObject("https://www.w3.org/ns/activitystreams"))
|
||||
person.context += listOf(
|
||||
StringOrObject("https://www.w3.org/ns/activitystreams"),
|
||||
StringOrObject("https://w3id.org/security/v1"),
|
||||
StringOrObject(mapOf("manuallyApprovesFollowers" to "as:manuallyApprovesFollowers"))
|
||||
)
|
||||
return ResponseEntity(person, HttpStatus.OK)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user