Skip to content

Commit 1fc9797

Browse files
authored
Merge pull request pterodactyl#189 from schrej/patch-2
fix api /servers/{id}/build
2 parents 93d9efb + 03c6f98 commit 1fc9797

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/Http/Controllers/API/ServerController.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,6 @@ public function config(Request $request, $id)
221221
public function build(Request $request, $id)
222222
{
223223
try {
224-
throw new BadRequestHttpException('There was an error while attempting to add this node to the system.');
225-
226224
$server = new ServerRepository;
227225
$server->changeBuild($id, $request->all());
228226
return Models\Server::findOrFail($id);

0 commit comments

Comments
 (0)