mirror of
https://github.com/morbalint/kemkas-backend.git
synced 2026-11-14 14:59:42 +00:00
fix NaN coins
This commit is contained in:
1 parent
779a5c349b
commit
e0a2e48957
1 file changed
+1
-1
@@ -42,7 +42,7 @@ builder.AddAuth();
|
||||
|
||||
builder.Services.AddControllersWithViews().AddJsonOptions(options =>
|
||||
{
|
||||
options.JsonSerializerOptions.DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingDefault;
|
||||
options.JsonSerializerOptions.DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull;
|
||||
options.JsonSerializerOptions.AllowTrailingCommas = true;
|
||||
options.JsonSerializerOptions.Encoder = JavaScriptEncoder.Create(UnicodeRanges.All);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user