diff --git a/CoefficientEditor/index.php b/CoefficientEditor/index.php index e3e611650d6546cc5422387c1962ec2c3f0899c2..808e8dbab4bc26559ae8240b3f8d15cba38c4a50 100644 --- a/CoefficientEditor/index.php +++ b/CoefficientEditor/index.php @@ -79,11 +79,11 @@ $app->put('/changeCoefficient/gajiPokok', function() use ($app) { 'golongan' => $coefficient->golongan, 'tahun' => $coefficient->tahun, 'subgolongan' => $coefficient->subgolongan, - 'gaji_pokok' => $coefficient->gaji_pokok + 'gaji_pokok' => $coefficient->koefisien )); $response = new Response(); - + if ($status->success() != true) { $response->setStatusCode(409, "Conflict"); $errors = array();