Skip to content

Commit b6ca747

Browse files
fix(ranks): set correct HTTP method for 'UpdateRank'
1 parent 797b3aa commit b6ca747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Armory.Api/Controllers/Ranks/RanksController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public async Task<ActionResult<RankResponse>> GetRank(int id)
7171
return RankNotFound(id);
7272
}
7373

74-
[HttpGet("{id:int}")]
74+
[HttpPut("{id:int}")]
7575
public async Task<ActionResult> UpdateRank(int id, [FromBody] UpdateRankRequest request)
7676
{
7777
try

0 commit comments

Comments
 (0)