Merge pull request #189 from schrej/patch-2

fix api /servers/{id}/build
This commit is contained in:
Dane Everitt 2016-11-30 11:00:54 -05:00 committed by GitHub
commit 1fc9797458

View file

@ -221,8 +221,6 @@ class ServerController extends BaseController
public function build(Request $request, $id)
{
try {
throw new BadRequestHttpException('There was an error while attempting to add this node to the system.');
$server = new ServerRepository;
$server->changeBuild($id, $request->all());
return Models\Server::findOrFail($id);