From 30a567058ab859dbca2c939959fbbcc79f0f1d71 Mon Sep 17 00:00:00 2001 From: Bradley Schofield Date: Mon, 31 Jan 2022 10:47:04 +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 4e3058ebc8..bc5ddc9e67 100644 --- a/app/executor.php +++ b/app/executor.php @@ -965,9 +965,9 @@ App::delete('/v1/functions/:functionId') // If amount is 0 then we simply return true if (count($results) === 0) { - return $response + $response ->setStatusCode(Response::STATUS_CODE_OK) - ->json(['success' => true]); + ->send(); } // Delete the containers of all deployments