Skip to content

Commit

Permalink
Cap sales from the current data endpoint at 200 (Universalis-FFXIV#1363)
Browse files Browse the repository at this point in the history
  • Loading branch information
karashiiro authored Jul 28, 2024
1 parent fe341d7 commit 68efca9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public async Task<IActionResult> Get(
var nEntries = 5;
if (int.TryParse(entriesToReturn, out var queryEntries))
{
nEntries = Math.Min(Math.Max(0, queryEntries), 999999);
nEntries = Math.Min(Math.Max(0, queryEntries), 200);
}

var statsWithinMs = 604800000L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public async Task<IActionResult> Get(
var nEntries = 5;
if (int.TryParse(entriesToReturn, out var queryEntries))
{
nEntries = Math.Min(Math.Max(0, queryEntries), 999999);
nEntries = Math.Min(Math.Max(0, queryEntries), 200);
}

var statsWithinMs = 604800000L;
Expand Down

0 comments on commit 68efca9

Please sign in to comment.