Skip to content
This repository was archived by the owner on Dec 11, 2020. It is now read-only.

Commit d6042a2

Browse files
fixed build
1 parent b5813ea commit d6042a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/AspNetCore.NewtonsoftJson/NewtonsoftJsonConvention.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public void Register(IServiceConventionContext context)
3939
throw new ArgumentNullException(nameof(context));
4040
}
4141

42-
services
42+
context.Services
4343
.AddMvcCore()
4444
.AddNewtonsoftJson();
4545
context.Services.Configure<MvcNewtonsoftJsonOptions>(

0 commit comments

Comments
 (0)