The show processing needs to be refactored #5
This commit is contained in:
parent
70fe1cac27
commit
64bb28b4b4
@ -100,6 +100,7 @@ function executeGET() {
|
||||
|
||||
|
||||
function executePOST() {
|
||||
global $connection, $allowed_extensions, $allowed_content_type;
|
||||
|
||||
//Make sure that the content type of the POST request has been set to application/json
|
||||
$contentType = isset($_SERVER["CONTENT_TYPE"]) ? trim($_SERVER["CONTENT_TYPE"]) : '';
|
||||
@ -120,7 +121,6 @@ function executePOST() {
|
||||
}
|
||||
|
||||
foreach($decoded['assets'] as $asset) {
|
||||
global $connection, $allowed_extensions, $allowed_content_type;
|
||||
|
||||
// Check episode_id
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user