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}/customer-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> PostCustomerNotifySubscription([FromBody] CustomerNotifySubscription newObject, ApiVersion apiVersion)
|
||||
public async Task<IActionResult> PostCustomerNotifySubscription([FromBody] CustomerNotifySubscription newObject, Asp.Versioning.ApiVersion apiVersion)
|
||||
{
|
||||
if (!serverState.IsOpen)
|
||||
return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));
|
||||
@@ -134,7 +134,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// <param name="apiVersion">From route path</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost("who")]
|
||||
public async Task<IActionResult> GetWho([FromBody] List<string> customerTags, ApiVersion apiVersion)
|
||||
public async Task<IActionResult> GetWho([FromBody] List<string> customerTags, Asp.Versioning.ApiVersion apiVersion)
|
||||
{
|
||||
if (!serverState.IsOpen)
|
||||
return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));
|
||||
|
||||
Reference in New Issue
Block a user