1
0
Fork 0
mirror of synced 2024-10-03 02:37:40 +13:00

Add status codes

This commit is contained in:
Bradley Schofield 2022-01-27 09:18:48 +00:00
parent c94b28555d
commit 7d3f992a9f

View file

@ -1026,6 +1026,7 @@ App::post('/v1/cleanup/deployment')
} }
$orchestrationPool->put($orchestration); $orchestrationPool->put($orchestration);
$response->setStatusCode(Response::STATUS_CODE_OK);
return $response->json(['success' => true]); return $response->json(['success' => true]);
}); });
@ -1191,6 +1192,7 @@ App::post('/v1/build/:buildId') // Start a Build
}); });
// return success // return success
$response->setStatusCode(Response::STATUS_CODE_OK);
return $response->json(['success' => true]); return $response->json(['success' => true]);
}); });