This commit is contained in:
@@ -98,7 +98,7 @@ namespace AyaNova.Api.Controllers
|
|||||||
if (string.IsNullOrWhiteSpace(tag))
|
if (string.IsNullOrWhiteSpace(tag))
|
||||||
return BadRequest(new ApiErrorResponse(ApiErrorCode.VALIDATION_REQUIRED, "tag"));
|
return BadRequest(new ApiErrorResponse(ApiErrorCode.VALIDATION_REQUIRED, "tag"));
|
||||||
|
|
||||||
var JobName = $"BulkAdd tag \"{tag}\" to {ayaType} ({idList.Count} specified)";
|
var JobName = $"BulkAdd tag \"{tag}\" on {ayaType} ({idList.Count} specified)";
|
||||||
JObject o = JObject.FromObject(new
|
JObject o = JObject.FromObject(new
|
||||||
{
|
{
|
||||||
ayaType = ayaType,
|
ayaType = ayaType,
|
||||||
@@ -139,7 +139,7 @@ namespace AyaNova.Api.Controllers
|
|||||||
if (string.IsNullOrWhiteSpace(tag))
|
if (string.IsNullOrWhiteSpace(tag))
|
||||||
return BadRequest(new ApiErrorResponse(ApiErrorCode.VALIDATION_REQUIRED, "tag"));
|
return BadRequest(new ApiErrorResponse(ApiErrorCode.VALIDATION_REQUIRED, "tag"));
|
||||||
|
|
||||||
var JobName = $"BulkAdd tag \"{tag}\" to any {ayaType}";
|
var JobName = $"BulkAdd tag \"{tag}\" on any {ayaType}";
|
||||||
JObject o = JObject.FromObject(new
|
JObject o = JObject.FromObject(new
|
||||||
{
|
{
|
||||||
ayaType = ayaType,
|
ayaType = ayaType,
|
||||||
@@ -223,7 +223,7 @@ namespace AyaNova.Api.Controllers
|
|||||||
if (string.IsNullOrWhiteSpace(tag))
|
if (string.IsNullOrWhiteSpace(tag))
|
||||||
return BadRequest(new ApiErrorResponse(ApiErrorCode.VALIDATION_REQUIRED, "tag"));
|
return BadRequest(new ApiErrorResponse(ApiErrorCode.VALIDATION_REQUIRED, "tag"));
|
||||||
|
|
||||||
var JobName = $"BulkRemove tag \"{tag}\" to any {ayaType}";
|
var JobName = $"BulkRemove tag \"{tag}\" from any {ayaType}";
|
||||||
JObject o = JObject.FromObject(new
|
JObject o = JObject.FromObject(new
|
||||||
{
|
{
|
||||||
ayaType = ayaType,
|
ayaType = ayaType,
|
||||||
@@ -269,7 +269,7 @@ namespace AyaNova.Api.Controllers
|
|||||||
toTag = TagUtil.NormalizeTag(toTag);
|
toTag = TagUtil.NormalizeTag(toTag);
|
||||||
if (string.IsNullOrWhiteSpace(toTag))
|
if (string.IsNullOrWhiteSpace(toTag))
|
||||||
return BadRequest(new ApiErrorResponse(ApiErrorCode.VALIDATION_REQUIRED, "toTag"));
|
return BadRequest(new ApiErrorResponse(ApiErrorCode.VALIDATION_REQUIRED, "toTag"));
|
||||||
var JobName = $"BulkReplace tag \"{fromTag}\" with tag \"{toTag}\" to {ayaType} ({idList.Count} specified)";
|
var JobName = $"BulkReplace tag \"{fromTag}\" with tag \"{toTag}\" on {ayaType} ({idList.Count} specified)";
|
||||||
JObject o = JObject.FromObject(new
|
JObject o = JObject.FromObject(new
|
||||||
{
|
{
|
||||||
ayaType = ayaType,
|
ayaType = ayaType,
|
||||||
@@ -316,7 +316,7 @@ namespace AyaNova.Api.Controllers
|
|||||||
if (string.IsNullOrWhiteSpace(toTag))
|
if (string.IsNullOrWhiteSpace(toTag))
|
||||||
return BadRequest(new ApiErrorResponse(ApiErrorCode.VALIDATION_REQUIRED, "toTag"));
|
return BadRequest(new ApiErrorResponse(ApiErrorCode.VALIDATION_REQUIRED, "toTag"));
|
||||||
|
|
||||||
var JobName = $"BulkReplace tag \"{fromTag}\" with tag \"{toTag}\" to any {ayaType}";
|
var JobName = $"BulkReplace tag \"{fromTag}\" with tag \"{toTag}\" on any {ayaType}";
|
||||||
JObject o = JObject.FromObject(new
|
JObject o = JObject.FromObject(new
|
||||||
{
|
{
|
||||||
ayaType = ayaType,
|
ayaType = ayaType,
|
||||||
|
|||||||
Reference in New Issue
Block a user