Merge branch 'federation-person-type' into 'develop'
Switched from Service to Person for actor representation See merge request funkwhale/funkwhale!117
This commit is contained in:
commit
7191a2a2c0
|
@ -21,7 +21,7 @@ def repr_instance_actor():
|
||||||
{},
|
{},
|
||||||
],
|
],
|
||||||
'id': utils.full_url(reverse('federation:instance-actor')),
|
'id': utils.full_url(reverse('federation:instance-actor')),
|
||||||
'type': 'Service',
|
'type': 'Person',
|
||||||
'inbox': utils.full_url(reverse('federation:instance-inbox')),
|
'inbox': utils.full_url(reverse('federation:instance-inbox')),
|
||||||
'outbox': utils.full_url(reverse('federation:instance-outbox')),
|
'outbox': utils.full_url(reverse('federation:instance-outbox')),
|
||||||
'preferredUsername': 'service',
|
'preferredUsername': 'service',
|
||||||
|
|
|
@ -20,7 +20,7 @@ def test_repr_instance_actor(db, preferences, settings):
|
||||||
{},
|
{},
|
||||||
],
|
],
|
||||||
'id': actor_url,
|
'id': actor_url,
|
||||||
'type': 'Service',
|
'type': 'Person',
|
||||||
'preferredUsername': 'service',
|
'preferredUsername': 'service',
|
||||||
'name': 'Service Bot - test.federation',
|
'name': 'Service Bot - test.federation',
|
||||||
'summary': 'Bot account for federating with test.federation',
|
'summary': 'Bot account for federating with test.federation',
|
||||||
|
|
Loading…
Reference in New Issue