1
0
Fork 0

user activitypub serializer

This commit is contained in:
Mouse Reeve 2020-05-09 21:55:00 -07:00
parent 45e5df388d
commit 67837f84b3
3 changed files with 5 additions and 5 deletions

View file

@ -239,7 +239,7 @@ def user_page(request, username, subpage=None):
if is_api_request(request):
# we have a json request
return JsonResponse(activitypub.get_actor(user))
return JsonResponse(user.activitypub_serialize)
# otherwise we're at a UI view
# TODO: change display with privacy and authentication considerations