Skip to content

Commit

Permalink
fix query string bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Beninski committed May 29, 2022
1 parent 9400457 commit 6f1cdab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions W3ChampionsStatisticService/Maps/MapsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ public async Task<IActionResult> UpdateMap(int id, [FromBody] MapContract reques

[HttpGet("{id}/files")]
[CheckIfBattleTagIsAdmin]
public async Task<IActionResult> GetMapFiles([FromQuery] int mapId)
public async Task<IActionResult> GetMapFiles(int id)
{
var mapFiles = await _updateServiceClient.GetMapFiles(mapId);
var mapFiles = await _updateServiceClient.GetMapFiles(id);
return Ok(mapFiles);
}

Expand Down

0 comments on commit 6f1cdab

Please sign in to comment.