Update app/executor.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
parent
663ce27db4
commit
30a567058a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue