Fix HealthController: Deploy Date.

This commit is contained in:
Konstantinos Triantafyllou 2023-07-28 10:01:56 +03:00
parent 79731291b8
commit f07b428685
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ public class HealthController {
response.put("developers.datasource.username", properties.getDatasource().getUsername()); response.put("developers.datasource.username", properties.getDatasource().getUsername());
response.put("developers.datasource.password", properties.getDatasource().getPassword()); response.put("developers.datasource.password", properties.getDatasource().getPassword());
response.put("developers.issuer", properties.getIssuer()); response.put("developers.issuer", properties.getIssuer());
if(eu.dnetlib.authentication.configuration.GlobalVars.date != null) { if(GlobalVars.date != null) {
response.put("Date of deploy", eu.dnetlib.authentication.configuration.GlobalVars.date.toString()); response.put("Date of deploy", eu.dnetlib.authentication.configuration.GlobalVars.date.toString());
} }
if(globalVars.getBuildDate() != null) { if(globalVars.getBuildDate() != null) {