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:
@@ -14,7 +14,7 @@ using System;
|
||||
namespace AyaNova.Api.Controllers
|
||||
{
|
||||
[ApiController]
|
||||
[ApiVersion("8.0")]
|
||||
[Asp.Versioning.ApiVersion("8.0")]
|
||||
[Route("api/v{version:apiVersion}/notify-subscription")]
|
||||
[Produces("application/json")]
|
||||
[Authorize]
|
||||
@@ -44,7 +44,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public async Task<IActionResult> PostNotifySubscription([FromBody] NotifySubscription newObject, ApiVersion apiVersion)
|
||||
public async Task<IActionResult> PostNotifySubscription([FromBody] NotifySubscription newObject, Asp.Versioning.ApiVersion apiVersion)
|
||||
{
|
||||
if (!serverState.IsOpen)
|
||||
return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));
|
||||
@@ -67,7 +67,7 @@ namespace AyaNova.Api.Controllers
|
||||
// /// <param name="apiVersion">From route path</param>
|
||||
// /// <returns>NotifySubscription</returns>
|
||||
// [HttpPost("duplicate/{id}")]
|
||||
// public async Task<IActionResult> DuplicateNotifySubscription([FromRoute] long id, ApiVersion apiVersion)
|
||||
// public async Task<IActionResult> DuplicateNotifySubscription([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