diff --git a/php/rest/getStatus.php b/php/rest/getStatus.php index c74f3cd..eb55d8c 100644 --- a/php/rest/getStatus.php +++ b/php/rest/getStatus.php @@ -10,9 +10,9 @@ require_once '../config.php'; if (!key_exists("id", $_GET)) { - $result = array('success' => false, 'message' => "You must provide a job id."); + $result = array('success' => false, 'message' => "You must provide a job id"); } else { $amda_ws = new WebServer(); - $result = $amda_ws->getStatus($_GET['id']); + $result = $amda_ws->getStatus($_GET); } echo json_encode($result); \ No newline at end of file -- libgit2 0.21.2