fix api /servers/{id}/build
remove unrelated error thrown every time
This commit is contained in:
parent
93d9efb7d0
commit
03c6f986d2
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