mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-09 18:03:44 +02:00
fix api /servers/{id}/build
remove unrelated error thrown every time
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user