From 7d3f992a9f1b494dcae5d3e449ed5c978b400aed Mon Sep 17 00:00:00 2001 From: Bradley Schofield Date: Thu, 27 Jan 2022 09:18:48 +0000 Subject: [PATCH] Add status codes --- app/executor.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/executor.php b/app/executor.php index 1c7d49f845..a509ba1efb 100644 --- a/app/executor.php +++ b/app/executor.php @@ -1026,6 +1026,7 @@ App::post('/v1/cleanup/deployment') } $orchestrationPool->put($orchestration); + $response->setStatusCode(Response::STATUS_CODE_OK); return $response->json(['success' => true]); }); @@ -1191,6 +1192,7 @@ App::post('/v1/build/:buildId') // Start a Build }); // return success + $response->setStatusCode(Response::STATUS_CODE_OK); return $response->json(['success' => true]); });