mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 17:44:27 +02:00
Simplify the output of api results
This commit is contained in:
parent
83056df565
commit
fb6c3e2912
5 changed files with 8 additions and 11 deletions
|
@ -66,8 +66,7 @@ class Show extends BaseApi
|
|||
'profiles' => $profiles
|
||||
];
|
||||
|
||||
echo self::format('friendica_profiles', ['$result' => $result]);
|
||||
exit;
|
||||
self::exit('friendica_profiles', ['$result' => $result]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue