This commit is contained in:
2020-05-13 23:15:47 +00:00
parent dc6e8113a3
commit 1fb475827b
18 changed files with 31 additions and 31 deletions

View File

@@ -21,7 +21,7 @@ namespace AyaNova.Api.Controllers
/// </summary>
[ApiController]
[ApiVersion("8.0")]
[Route("api/v{version:apiVersion}/[controller]")]
[Route("api/v{version:apiVersion}/license")]
[Produces("application/json")]
[Authorize]
public class LicenseController : ControllerBase
@@ -198,7 +198,7 @@ namespace AyaNova.Api.Controllers
/// </summary>
/// <param name="acceptCode">Must be "I understand"</param>
/// <returns>HTTP 204 No Content result code on success or fail code with explanation</returns>
[HttpPost("PermanentlyEraseAllData")]
[HttpPost("permanently-erase-all-data")]
public async Task<IActionResult> RemoveAllData([FromBody] string acceptCode)
{
if (serverState.IsClosed)