1
0
Fork 0

Publish the profile fields

This commit is contained in:
Michael 2020-10-25 18:21:18 +00:00
commit 319ceeda3b
2 changed files with 5 additions and 2 deletions

View file

@ -37,7 +37,7 @@ class Field extends BaseFactory
*/
public function createFromProfileField(ProfileField $profileField)
{
return new \Friendica\Api\Entity\Mastodon\Field($profileField->label, BBCode::convert($profileField->value, false, BBCode::ACTIVITYPUB));
return new \Friendica\Object\Api\Mastodon\Field($profileField->label, BBCode::convert($profileField->value, false, BBCode::ACTIVITYPUB));
}
/**