mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-12 05:44:32 +02:00
Rename ApipResponse->exit* methods to better show their meaning
This commit is contained in:
parent
960171c4e0
commit
642baa1f2a
68 changed files with 88 additions and 88 deletions
|
@ -65,6 +65,6 @@ class Upload extends BaseApi
|
|||
|
||||
Logger::info('Media uploaded', ['return' => $returndata]);
|
||||
|
||||
$this->response->exit('media', ['media' => $returndata], $this->parameters['extension'] ?? null);
|
||||
$this->response->addFormattedContent('media', ['media' => $returndata], $this->parameters['extension'] ?? null);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue