Adjust BlueprintSettingsFormRequest.php for Telemetry

This commit is contained in:
purple 2023-05-09 21:48:28 +02:00
parent 3e8a596591
commit b5bbc75c74
2 changed files with 5 additions and 0 deletions

View file

@ -17,6 +17,8 @@ class BlueprintSettingsFormRequest extends AdminFormRequest
'developer' => 'string', 'developer' => 'string',
'developer:cmd' => 'string', 'developer:cmd' => 'string',
'telemetry' => 'string',
'api:endpoint' => 'string', 'api:endpoint' => 'string',
]; ];
} }
@ -29,6 +31,8 @@ class BlueprintSettingsFormRequest extends AdminFormRequest
'developer' => 'Developer Mode', 'developer' => 'Developer Mode',
'developer:cmd' => 'Developer Command', 'developer:cmd' => 'Developer Command',
'telemetry' => 'Telemetry',
'api:endpoint' => 'API Endpoint', 'api:endpoint' => 'API Endpoint',
]; ];
} }

View file

@ -56,6 +56,7 @@
{{ $bp->dbSet('developer:log', '') }} {{ $bp->dbSet('developer:log', '') }}
{{ $bp->dbSet('developer:cmd', '') }} {{ $bp->dbSet('developer:cmd', '') }}
@endif @endif
{{ $bp->dbGet('telemetry') }}
</div> </div>
<div class="col-xs-9"> <div class="col-xs-9">