Skip to content
Snippets Groups Projects
Commit 7191a2a2 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Merge branch 'federation-person-type' into 'develop'

Switched from Service to Person for actor representation

See merge request funkwhale/funkwhale!117
parents c57755fc 74945759
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ def repr_instance_actor(): ...@@ -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): ...@@ -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',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment