Return the actor, not the array

This commit is contained in:
Michael 2022-05-24 08:02:55 +00:00
parent b1a2de5cb5
commit e68ff3b3bb

View File

@ -179,7 +179,8 @@ class Delivery
*/
private static function fetchActorForRelayInbox(string $inbox): string
{
return DBA::selectFirst('apcontact', ['url'], ['sharedinbox' => $inbox, 'type' => 'Application']) ?: '';
$apcontact = DBA::selectFirst('apcontact', ['url'], ['sharedinbox' => $inbox, 'type' => 'Application']);
return $apcontact['url'] ?? '';
}
/**