case 4377 FIRST REAL CODE COMMIT SINCE APRIL 2023
This commit is contained in:
3
dist/assets/linux-server/config.json
vendored
3
dist/assets/linux-server/config.json
vendored
@@ -3,5 +3,6 @@
|
||||
"AYANOVA_DB_CONNECTION":"Server=localhost;Username=postgres;Password=YOUR_PASSWORD_HERE;Database=AyaNova;CommandTimeout=300;",
|
||||
"AYANOVA_DEFAULT_TRANSLATION":"en",
|
||||
"AYANOVA_DATA_PATH":"/var/ayanova/data/",
|
||||
"AYANOVA_LOG_LEVEL": "Info"
|
||||
"AYANOVA_LOG_LEVEL": "Info",
|
||||
"AYANOVA_JWT_SECRET": "1234567MyRandom32CharacterSecret"
|
||||
}
|
||||
@@ -206,6 +206,7 @@ namespace AyaNova.Api.Controllers
|
||||
[HttpGet("contact-name-list/{id}")]
|
||||
public async Task<IActionResult> GetContactNameList([FromRoute] long id)
|
||||
{
|
||||
//for case 4377
|
||||
if (!serverState.IsOpen)
|
||||
return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));
|
||||
CustomerBiz biz = CustomerBiz.GetBiz(ct, HttpContext);
|
||||
|
||||
Reference in New Issue
Block a user