This commit is contained in:
2020-05-16 16:21:11 +00:00
parent bcbc7aa871
commit c08aa63e4e

View File

@@ -98,7 +98,7 @@ namespace AyaNova.Api.Controllers
if (string.IsNullOrWhiteSpace(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
{
ayaType = ayaType,
@@ -139,7 +139,7 @@ namespace AyaNova.Api.Controllers
if (string.IsNullOrWhiteSpace(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
{
ayaType = ayaType,
@@ -223,7 +223,7 @@ namespace AyaNova.Api.Controllers
if (string.IsNullOrWhiteSpace(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
{
ayaType = ayaType,
@@ -269,7 +269,7 @@ namespace AyaNova.Api.Controllers
toTag = TagUtil.NormalizeTag(toTag);
if (string.IsNullOrWhiteSpace(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
{
ayaType = ayaType,
@@ -316,7 +316,7 @@ namespace AyaNova.Api.Controllers
if (string.IsNullOrWhiteSpace(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
{
ayaType = ayaType,