From 03c6f986d2464885366fb48a2407406635324e62 Mon Sep 17 00:00:00 2001 From: Jakob Date: Wed, 30 Nov 2016 12:26:23 +0100 Subject: [PATCH] fix api /servers/{id}/build remove unrelated error thrown every time --- app/Http/Controllers/API/ServerController.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/Http/Controllers/API/ServerController.php b/app/Http/Controllers/API/ServerController.php index 2b9f0986c..3e6063ee0 100755 --- a/app/Http/Controllers/API/ServerController.php +++ b/app/Http/Controllers/API/ServerController.php @@ -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);