Skip to content

Commit

Permalink
fix(api): fix duplicate controller function name
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMcAssey committed Jan 24, 2025
1 parent 6ebb5a1 commit bf46b70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GLOKON.Baiters.Server/Controllers/ActorsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public IActionResult GetTypes()
}

[HttpPost("spawn/{type}")]
public IActionResult Delete([FromRoute] string type)
public IActionResult SpawnType([FromRoute] string type)
{
if (gm.Spawner.Spawn(type))
{
Expand Down

0 comments on commit bf46b70

Please sign in to comment.