Skip to content

Commit b59fcb6

Browse files
shaggygiscottaddie
authored andcommitted
Fixed to use correct formatter. (#4251)
1 parent b02db6d commit b59fcb6

File tree

1 file changed

+1
-1
lines changed
  • aspnetcore/mvc/advanced/custom-formatters/sample

1 file changed

+1
-1
lines changed

aspnetcore/mvc/advanced/custom-formatters/sample/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public void ConfigureServices(IServiceCollection services)
3030
services.AddMvc(options =>
3131
{
3232
options.InputFormatters.Insert(0, new VcardInputFormatter());
33-
options.OutputFormatters.Insert(0, new VcardInputFormatter());
33+
options.OutputFormatters.Insert(0, new VcardOutputFormatter());
3434
});
3535
#endregion
3636

0 commit comments

Comments
 (0)