case 4586 - fuck it, everything is interdependent, just went for it, mostly buildable just reporting to fixup then testing after this
This commit is contained in:
@@ -27,7 +27,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// Translation controller
|
||||
/// </summary>
|
||||
[ApiController]
|
||||
[ApiVersion("8.0")]
|
||||
[Asp.Versioning.ApiVersion("8.0")]
|
||||
[Route("api/v{version:apiVersion}/translation")]
|
||||
[Produces("application/json")]
|
||||
[Authorize]
|
||||
@@ -203,7 +203,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns>Duplicate</returns>
|
||||
[HttpPost("duplicate/{id}")]
|
||||
public async Task<IActionResult> DuplicateTranslation([FromRoute] long id, ApiVersion apiVersion)
|
||||
public async Task<IActionResult> DuplicateTranslation([FromRoute] long id, Asp.Versioning.ApiVersion apiVersion)
|
||||
{
|
||||
if (!serverState.IsOpen)
|
||||
return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));
|
||||
|
||||
Reference in New Issue
Block a user