Skip to content

Commit

Permalink
Fix parameter order for v2 endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
karashiiro committed Aug 2, 2021
1 parent 81e9947 commit 5661a47
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 @@ -10,7 +10,7 @@ namespace Universalis.Application.Controllers.V2
{
[ApiController]
[ApiVersion("2")]
[Route("api/v2/{itemIds}/{worldOrDc}")]
[Route("api/v2/{worldOrDc}/{itemIds}")]
public class CurrentlyShownController : CurrentlyShownControllerBase
{
public CurrentlyShownController(IGameDataProvider gameData, ICurrentlyShownDbAccess currentlyShownDb) : base(gameData, currentlyShownDb) { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Universalis.Application.Controllers.V2
{
[ApiController]
[ApiVersion("2")]
[Route("api/v2/history/{itemIds}/{worldOrDc}")]
[Route("api/v2/history/{worldOrDc}/{itemIds}")]
public class HistoryController : HistoryControllerBase
{
public HistoryController(IGameDataProvider gameData, IHistoryDbAccess historyDb) : base(gameData, historyDb) { }
Expand Down

0 comments on commit 5661a47

Please sign in to comment.