Route and handle install state updates
This commit is contained in:
parent
bb9a3714cb
commit
dbc7c597d0
3 changed files with 52 additions and 2 deletions
26
app/Http/Requests/Api/Remote/InstallationDataRequest.php
Normal file
26
app/Http/Requests/Api/Remote/InstallationDataRequest.php
Normal 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',
|
||||
];
|
||||
}
|
||||
}
|
Reference in a new issue