Skip to content

Commit 4197960

Browse files
author
Rodrigo Pereyra Diaz
committed
refactor: use new constructor
1 parent 2b4be4d commit 4197960

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/MakingSense.AspNetCore.HypermediaApi/Formatters/Internal/HypermediaApiMvcOptionsSetup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static void ConfigureMvc(
4747

4848
var jsonOutputFormatter =
4949
#if NET6_0_OR_GREATER
50-
new NewtonsoftJsonOutputFormatter(serializerSettings, charPool, options);
50+
new NewtonsoftJsonOutputFormatter(serializerSettings, charPool, options, jsonOptions);
5151
#elif NETSTANDARD2_0 || NETFRAMEWORK
5252
new JsonOutputFormatter(serializerSettings, charPool);
5353
#else

0 commit comments

Comments
 (0)