Update app/executor.php

Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
Bradley Schofield
2022-01-31 10:47:04 +00:00
committed by GitHub
co-authored by Christy Jacob
parent 663ce27db4
commit 30a567058a
+2 -2
View File
@@ -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