From 663ce27db4f631d7a33a68c484395a803d8d93ad Mon Sep 17 00:00:00 2001 From: Bradley Schofield Date: Mon, 31 Jan 2022 10:47:00 +0000 Subject: [PATCH] Update app/executor.php Co-authored-by: Christy Jacob --- app/executor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/executor.php b/app/executor.php index e15a505f52..4e3058ebc8 100644 --- a/app/executor.php +++ b/app/executor.php @@ -987,9 +987,9 @@ App::delete('/v1/functions/:functionId') Console::info('Removed container for deployment ' . $deployment['$id']); } - return $response + $response ->setStatusCode(Response::STATUS_CODE_OK) - ->json(['success' => true]); + ->send(); } catch (Throwable $th) { $orchestrationPool->put($orchestration); throw $th;