1
0
Fork 0
mirror of synced 2024-06-02 10:54:44 +12:00

Update app/controllers/api/functions.php

Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
Damodar Lohani 2022-02-22 16:19:51 +05:45 committed by GitHub
parent 10826daaa7
commit b0096c94e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -375,7 +375,7 @@ App::patch('/v1/functions/:functionId/deployments/:deploymentId')
}
if ($deployment->isEmpty()) {
throw new Exception('Deployment not found', Exception::DEPLOYMENT_NOT_FOUND);
throw new Exception('Deployment not found', 404, Exception::DEPLOYMENT_NOT_FOUND);
}
if ($build->isEmpty()) {