Update AccountTransformer.php

This commit is contained in:
Daniel Supernault 2025-02-03 16:50:50 -07:00
parent 92ce41ce18
commit edac836550
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

View file

@ -75,13 +75,6 @@ class AccountTransformer extends Fractal\TransformerAbstract
'location' => $profile->location,
];
if ($profile->moved_to_profile_id) {
$mt = AccountService::getMastodon($profile->moved_to_profile_id, true);
if ($mt) {
$res['moved'] = $mt;
}
}
return $res;
}