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

Switched from Service to Person for actor representation

parent c57755fc
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