diff --git a/server/AyaNova/Controllers/GlobalOpsBackupSettingsController.cs b/server/AyaNova/Controllers/GlobalOpsBackupSettingsController.cs
index 7f3982d0..9d2535a1 100644
--- a/server/AyaNova/Controllers/GlobalOpsBackupSettingsController.cs
+++ b/server/AyaNova/Controllers/GlobalOpsBackupSettingsController.cs
@@ -91,30 +91,30 @@ namespace AyaNova.Api.Controllers
return NoContent();
}
- ///
- /// Get Client app relevant GlobalOpsBackupSettings
- ///
- /// Global ops backup settings object
- [HttpGet("client")]
- public async Task GetClientGlobalOpsBackupSettings()
- {
- //NOTE: currently this looks like a dupe of get above and it is
- //but it's kept here in case want to return a subset of the settings only to client users
- //where some internal server only stuff might not be desired to send to user
+ // ///
+ // /// Get Client app relevant GlobalOpsBackupSettings
+ // ///
+ // /// Global ops backup settings object
+ // [HttpGet("client")]
+ // public async Task GetClientGlobalOpsBackupSettings()
+ // {
+ // //NOTE: currently this looks like a dupe of get above and it is
+ // //but it's kept here in case want to return a subset of the settings only to client users
+ // //where some internal server only stuff might not be desired to send to user
- if (serverState.IsClosed)
- return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));
- GlobalOpsBackupSettingsBiz biz = GlobalOpsBackupSettingsBiz.GetBiz(ct, HttpContext);
- //this route is available to Ops role user only
- if (!Authorized.HasReadFullRole(HttpContext.Items, biz.BizType))
- return StatusCode(403, new ApiNotAuthorizedResponse());
- if (!ModelState.IsValid)
- return BadRequest(new ApiErrorResponse(ModelState));
- var o = await biz.GetAsync();
- if (o == null)
- return NotFound(new ApiErrorResponse(ApiErrorCode.NOT_FOUND));
- return Ok(ApiOkResponse.Response(o));
- }
+ // if (serverState.IsClosed)
+ // return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));
+ // GlobalOpsBackupSettingsBiz biz = GlobalOpsBackupSettingsBiz.GetBiz(ct, HttpContext);
+ // //this route is available to Ops role user only
+ // if (!Authorized.HasReadFullRole(HttpContext.Items, biz.BizType))
+ // return StatusCode(403, new ApiNotAuthorizedResponse());
+ // if (!ModelState.IsValid)
+ // return BadRequest(new ApiErrorResponse(ModelState));
+ // var o = await biz.GetAsync();
+ // if (o == null)
+ // return NotFound(new ApiErrorResponse(ApiErrorCode.NOT_FOUND));
+ // return Ok(ApiOkResponse.Response(o));
+ // }
}//eoc
}//ens
\ No newline at end of file