From b59fcb6af41f685c60ee3a50214fdb30b8075221 Mon Sep 17 00:00:00 2001 From: Greg Ingram Date: Mon, 11 Sep 2017 17:05:08 -0400 Subject: [PATCH] Fixed to use correct formatter. (#4251) --- aspnetcore/mvc/advanced/custom-formatters/sample/Startup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/mvc/advanced/custom-formatters/sample/Startup.cs b/aspnetcore/mvc/advanced/custom-formatters/sample/Startup.cs index 0f9974af680c..3b2c4e69bfc9 100644 --- a/aspnetcore/mvc/advanced/custom-formatters/sample/Startup.cs +++ b/aspnetcore/mvc/advanced/custom-formatters/sample/Startup.cs @@ -30,7 +30,7 @@ public void ConfigureServices(IServiceCollection services) services.AddMvc(options => { options.InputFormatters.Insert(0, new VcardInputFormatter()); - options.OutputFormatters.Insert(0, new VcardInputFormatter()); + options.OutputFormatters.Insert(0, new VcardOutputFormatter()); }); #endregion