Route and handle install state updates

This commit is contained in:
Dane Everitt 2020-01-19 13:50:38 -08:00
parent bb9a3714cb
commit dbc7c597d0
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 52 additions and 2 deletions

View file

@ -0,0 +1,26 @@
<?php
namespace Pterodactyl\Http\Requests\Api\Remote;
use Illuminate\Foundation\Http\FormRequest;
class InstallationDataRequest extends FormRequest
{
/**
* @return bool
*/
public function authorize()
{
return true;
}
/**
* @return array
*/
public function rules()
{
return [
'successful' => 'present|boolean',
];
}
}