Skip to content

Commit 15acdce

Browse files
authored
Fixed the json options to be isolated (#375)
1 parent cf21cac commit 15acdce

File tree

2 files changed

+60
-57
lines changed

2 files changed

+60
-57
lines changed

src/TickerQ.Dashboard/DependencyInjection/ServiceCollectionExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ internal static void AddDashboardService<TTimeTicker, TCronTicker>(this IService
2828
config.DashboardJsonOptions = new JsonSerializerOptions
2929
{
3030
PropertyNameCaseInsensitive = true,
31+
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
3132
Converters = { new StringToByteArrayConverter() }
3233
};
3334
}

0 commit comments

Comments
 (0)