Switched from Service to Person for actor representation

merge-requests/154/head
Eliot Berriot 2018-03-30 18:34:23 +02:00
rodzic c57755fcaa
commit 74945759cc
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: DD6965E2476E5C27
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -21,7 +21,7 @@ def repr_instance_actor():
{},
],
'id': utils.full_url(reverse('federation:instance-actor')),
'type': 'Service',
'type': 'Person',
'inbox': utils.full_url(reverse('federation:instance-inbox')),
'outbox': utils.full_url(reverse('federation:instance-outbox')),
'preferredUsername': 'service',

Wyświetl plik

@ -20,7 +20,7 @@ def test_repr_instance_actor(db, preferences, settings):
{},
],
'id': actor_url,
'type': 'Service',
'type': 'Person',
'preferredUsername': 'service',
'name': 'Service Bot - test.federation',
'summary': 'Bot account for federating with test.federation',