Update AccountTransformer.php

pull/5670/head
Daniel Supernault 4 weeks ago
parent 92ce41ce18
commit edac836550
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

@ -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;
}

Loading…
Cancel
Save