diff --git a/LANCommander/Controllers/Api/KeysController.cs b/LANCommander/Controllers/Api/KeysController.cs index 55f4c71..7eecf50 100644 --- a/LANCommander/Controllers/Api/KeysController.cs +++ b/LANCommander/Controllers/Api/KeysController.cs @@ -26,6 +26,7 @@ namespace LANCommander.Controllers.Api return KeyService.Get(k => k.AllocationMethod == Data.Models.KeyAllocationMethod.MacAddress && k.ClaimedByMacAddress == keyRequest.MacAddress).First(); } + [HttpPost("GetAllocated/{id}")] public async Task GetAllocated(Guid id, KeyRequest keyRequest) { var existing = KeyService.Get(k => k.Game.Id == id && k.AllocationMethod == Data.Models.KeyAllocationMethod.MacAddress && k.ClaimedByMacAddress == keyRequest.MacAddress).FirstOrDefault();