Merge pull request #189 from schrej/patch-2
fix api /servers/{id}/build
This commit is contained in:
commit
1fc9797458
1 changed files with 0 additions and 2 deletions
|
@ -221,8 +221,6 @@ class ServerController extends BaseController
|
||||||
public function build(Request $request, $id)
|
public function build(Request $request, $id)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
throw new BadRequestHttpException('There was an error while attempting to add this node to the system.');
|
|
||||||
|
|
||||||
$server = new ServerRepository;
|
$server = new ServerRepository;
|
||||||
$server->changeBuild($id, $request->all());
|
$server->changeBuild($id, $request->all());
|
||||||
return Models\Server::findOrFail($id);
|
return Models\Server::findOrFail($id);
|
||||||
|
|
Loading…
Reference in a new issue