fix: Fixes disallowed features enum serialization (#1093)
This commit is contained in:
parent
5343260895
commit
7099329dfe
2 changed files with 3 additions and 1 deletions
|
|
@ -81,7 +81,8 @@ public record AssistantSettings
|
|||
[JsonPropertyName("kickOnFailure")]
|
||||
public bool KickOnFailure { get; set; }
|
||||
|
||||
[JsonPropertyName("features")]
|
||||
[JsonPropertyName("disallowedFeatures")]
|
||||
[JsonConverter(typeof(FlagsConverter<AssistantFeatures>))]
|
||||
public AssistantFeatures DisallowedFeatures { get; set; }
|
||||
|
||||
[JsonPropertyName("disconnectDelay")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue