mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-21 08:03:13 +09:00
Fix InstanceConfigSetPropRequest schema
Fix the value incorrectly being set as required in the schema and thus preventing props on config field objects of the instance from being removed.
This commit is contained in:
1 parent
e3cfc090d3
commit
499e973db9
4 files changed
+12
-2
No files matched your search
@@ -459,7 +459,7 @@ export class Config<
|
||||
setProp<Field extends keyof Fields & string>(
|
||||
name: Field,
|
||||
prop: string,
|
||||
value: unknown,
|
||||
value?: unknown,
|
||||
location = this.location,
|
||||
) {
|
||||
let def = this.constructor.fieldDefinitions[name];
|
||||
|
||||
Reference in new issue
Block a user