mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 19:41:11 +00:00
format webfinger "subject"
This commit is contained in:
parent
203a0a25eb
commit
b941bb7ad5
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ def webfinger(request):
|
||||||
return HttpResponseNotFound('No account found')
|
return HttpResponseNotFound('No account found')
|
||||||
|
|
||||||
return JsonResponse({
|
return JsonResponse({
|
||||||
'subject': 'acct:%s' % (user.username),
|
'subject': 'acct:@%s' % (user.username),
|
||||||
'links': [
|
'links': [
|
||||||
{
|
{
|
||||||
'rel': 'self',
|
'rel': 'self',
|
||||||
|
|
Loading…
Reference in a new issue