Skip to content

Commit 7783791

Browse files
Update MaLoIdentModels/MaLoIdentModels/JsonSettings/EmptyStringConverter.cs
Co-authored-by: konstantin <[email protected]>
1 parent bc84fd8 commit 7783791

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: MaLoIdentModels/MaLoIdentModels/JsonSettings/EmptyStringConverter.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ JsonSerializerOptions options
1818
if (reader.TokenType == JsonTokenType.String)
1919
{
2020
var value = reader.GetString();
21-
if (string.IsNullOrEmpty(value))
21+
if (string.IsNullOrWhiteSpace(value))
2222
{
2323
return null;
2424
}

0 commit comments

Comments
 (0)