Format problem details (#36)

* problem details formatting

* Moniker prep for Problem Details
pull/40/head^2
Rick Anderson 2022-09-08 16:52:59 -10:00 committed by GitHub
parent 21fdbf522f
commit 5c2d63d79a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ app.UseHttpsRedirection();
app.Use(async (context, next) => app.Use(async (context, next) =>
{ {
var mathErrorFeature = new MathErrorFeature(); var mathErrorFeature = new MathErrorFeature();
context.Features.Set(mathErrorFeature); context.Features.Set(new MathErrorFeature());
await next(context); await next(context);
}); });