This commit is contained in:
Hugh Rundle 2023-01-20 20:05:14 +11:00
parent e8452011f7
commit 317fa5cdfd

View file

@ -307,7 +307,7 @@ def resolve_remote_id(
def get_representative():
"""Get or create an actor representing the instance
to sign requests to 'secure mastodon' servers"""
to sign requests to 'secure mastodon' servers"""
username = f"{INSTANCE_ACTOR_USERNAME}@{DOMAIN}"
try:
user = models.User.objects.get(username=username)