Format problem details (#36)
* problem details formatting * Moniker prep for Problem Detailspull/40/head^2
parent
21fdbf522f
commit
5c2d63d79a
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue