correct health check

This commit is contained in:
Edouard DUPIN 2023-01-29 23:10:47 +01:00
parent 7ab588cb38
commit c45b9a13bd
2 changed files with 1 additions and 2 deletions

View File

@ -20,7 +20,7 @@ public class HealthCheck {
@GET
@PermitAll
public Response getHealth() {
if (JWTWrapper.getPublicKey() == null) {
if (JWTWrapper.getPublicKeyJson() == null) {
return Response.status(500).entity(new HealthResult("Missing Jwt public token")).build();
}
return Response.status(200).entity(new HealthResult("alive and kicking")).build();

View File

@ -109,7 +109,6 @@ export class VideoEditScene implements OnInit {
{ value: undefined, label: '---' },
];
constructor(
private route: ActivatedRoute,
private typeService: TypeService,
private seriesService: SeriesService,
private videoService: VideoService,