fix store role deletion fixes #5027

This commit is contained in:
Kukks 2023-05-31 13:42:38 +02:00
parent 33ec790137
commit 775ee01171
No known key found for this signature in database
GPG Key ID: 8E5530D9D1C93097

View File

@ -141,7 +141,7 @@ namespace BTCPayServer.Controllers
"Delete"));
}
[HttpPost("{storeId}/roles/{roleId}/delete")]
[HttpPost("{storeId}/roles/{role}/delete")]
public async Task<IActionResult> DeleteRolePost(
string storeId,
[FromServices] StoreRepository storeRepository,