diff --git a/app/Util/ActivityPub/Helpers.php b/app/Util/ActivityPub/Helpers.php index f71c95a6..1516478d 100644 --- a/app/Util/ActivityPub/Helpers.php +++ b/app/Util/ActivityPub/Helpers.php @@ -742,10 +742,10 @@ class Helpers { [ 'domain' => strtolower($domain), 'username' => Purify::clean($webfinger), - 'webfinger' => Purify::clean($webfinger), - 'key_id' => $res['publicKey']['id'], ], [ + 'webfinger' => Purify::clean($webfinger), + 'key_id' => $res['publicKey']['id'], 'remote_url' => $res['id'], 'name' => isset($res['name']) ? Purify::clean($res['name']) : 'user', 'bio' => isset($res['summary']) ? Purify::clean($res['summary']) : null,