File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
app/Http/Requests/Api/Application/Servers Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
77### Fixed
88* Fixes a bug when reinstalling a server that would not mark the server as installing, resulting in some UI issues.
99* Handle 404 errors from missing models in the application API bindings correctly.
10+ * Fix validation error returned when no environment variables are passed, even if there are no variables required.
1011
1112### Added
1213* Adds back client API for sending commands or power toggles to a server though the Panel API: ` /api/client/servers/<identifier> `
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public function rules(): array
3939 'pack ' => $ rules ['pack_id ' ],
4040 'docker_image ' => $ rules ['image ' ],
4141 'startup ' => $ rules ['startup ' ],
42- 'environment ' => 'required |array ' ,
42+ 'environment ' => 'present |array ' ,
4343 'skip_scripts ' => 'sometimes|boolean ' ,
4444
4545 // Resource limitations
You can’t perform that action at this time.
0 commit comments