1
0
forked from HPR/hpr_hub

The show processing needs to be refactored #5

This commit is contained in:
Ken Fallon 2025-01-17 21:58:55 +01:00
parent 70fe1cac27
commit 64bb28b4b4

View File

@ -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