correct health check
This commit is contained in:
parent
7ab588cb38
commit
c45b9a13bd
@ -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();
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user