Merge branch 'develop' into feature/admin-retheme

This commit is contained in:
Dane Everitt
2017-02-23 21:24:17 -05:00
12 changed files with 31 additions and 15 deletions

View File

@@ -254,7 +254,7 @@ class ServersController extends Controller
try {
$res = $server->node->guzzleClient([
'X-Access-Server' => $server->uuid,
'X-Access-Token' => $node->daemonSecret,
'X-Access-Token' => $server->node->daemonSecret,
])->request('POST', '/server/rebuild');
Alert::success('A rebuild has been queued successfully. It will run the next time this server is booted.')->flash();
} catch (\GuzzleHttp\Exception\TransferException $ex) {