Skip to content

Commit 329aeee

Browse files
authored
I failed to fix this previously.. should be good now. (AscensionGameDev#2127)
1 parent 07fe581 commit 329aeee

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Intersect.Server/Web/RestApi/Routes/V1/InfoController.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,9 @@ public object Stats()
5656
}
5757

5858
[HttpGet("metrics")]
59-
[Produces("application/json")]
6059
public object StatsMetrics()
6160
{
62-
return Ok(MetricsRoot.Instance.Metrics );
61+
return Content(MetricsRoot.Instance.Metrics, "application/json");
6362
}
6463
}
6564
}

0 commit comments

Comments
 (0)