mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
We now use a central function for fetching the postdata
This commit is contained in:
parent
f8b8a5a52b
commit
b4c673a620
7 changed files with 21 additions and 6 deletions
|
@ -1267,7 +1267,7 @@ function api_media_metadata_create($type)
|
|||
|
||||
api_get_user($a);
|
||||
|
||||
$postdata = file_get_contents('php://input');
|
||||
$postdata = Network::postdata();
|
||||
|
||||
if (empty($postdata)) {
|
||||
throw new BadRequestException("No post data");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue