Skip to content

Commit bb56472

Browse files
committed
Fix call response deserialization exception when Language value is an empty string
1 parent 3188932 commit bb56472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Packages/StreamVideo/Runtime/Core/InternalDTO/Responses/TranscriptionSettingsResponseInternalDTO.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ internal partial class TranscriptionSettingsResponseInternalDTO
2424

2525
[Newtonsoft.Json.JsonProperty("language", Required = Newtonsoft.Json.Required.Default)]
2626
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
27-
public TranscriptionSettingsResponseLanguageInternalEnum Language { get; set; } = default!;
27+
public TranscriptionSettingsResponseLanguageInternalEnum? Language { get; set; } = default!;
2828

2929
[Newtonsoft.Json.JsonProperty("mode", Required = Newtonsoft.Json.Required.Default)]
3030
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]

0 commit comments

Comments
 (0)