Simplify the output of api results

This commit is contained in:
Michael 2021-11-09 06:42:59 +00:00
parent 83056df565
commit fb6c3e2912
5 changed files with 8 additions and 11 deletions

View file

@ -66,8 +66,7 @@ class Show extends BaseApi
'profiles' => $profiles
];
echo self::format('friendica_profiles', ['$result' => $result]);
exit;
self::exit('friendica_profiles', ['$result' => $result]);
}
/**