case 4491
This commit is contained in:
@@ -86,7 +86,7 @@ namespace AyaNova.Api.Controllers
|
||||
if (!Authorized.HasModifyRole(HttpContext.Items, biz.BizType))
|
||||
return StatusCode(403, new ApiNotAuthorizedResponse());
|
||||
|
||||
var o = await biz.PutAsync(updatedObject);
|
||||
var o = await biz.PutAsync(updatedObject);
|
||||
if (o == null)
|
||||
return StatusCode(409, new ApiErrorResponse(biz.Errors));
|
||||
return Ok(ApiOkResponse.Response(new { Concurrency = o.Concurrency }));
|
||||
@@ -109,7 +109,7 @@ namespace AyaNova.Api.Controllers
|
||||
return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));
|
||||
}
|
||||
|
||||
bool IsSubscriptionBuild = false;
|
||||
bool IsSubscriptionBuild = false;
|
||||
|
||||
#if (SUBSCRIPTION_BUILD)
|
||||
IsSubscriptionBuild=true;
|
||||
@@ -137,8 +137,12 @@ namespace AyaNova.Api.Controllers
|
||||
LicenseStatus = AyaNova.Core.License.ActiveKey.Status,
|
||||
MaintenanceExpired = AyaNova.Core.License.ActiveKey.MaintenanceExpired,
|
||||
ServerDbId = AyaNova.Core.License.ServerDbId,
|
||||
Company = AyaNova.Core.License.ActiveKey.RegisteredTo,
|
||||
SBuild = IsSubscriptionBuild
|
||||
Company = AyaNova.Core.License.ActiveKey.RegisteredTo,
|
||||
SBuild = IsSubscriptionBuild,
|
||||
//used to drive UI in case of out of date release message to be shown to staff users non subscription only
|
||||
ShowUpdateAvailable = (Util.AyaNovaVersion.VersionString != AyaNova.Util.ServerGlobalOpsSettingsCache.LATEST_VERSION && !IsSubscriptionBuild),
|
||||
LatestVersion = AyaNova.Util.ServerGlobalOpsSettingsCache.LATEST_VERSION,
|
||||
ChangeLogUrl = AyaNova.Util.ServerGlobalOpsSettingsCache.CHANGE_LOG_URL
|
||||
|
||||
// ,
|
||||
// TestTSDaysWMS=new TimeSpan(22,10,15,22,33),
|
||||
|
||||
Reference in New Issue
Block a user