This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user