From 563c7544920cc3cc5a8586ee0013f305121b0de5 Mon Sep 17 00:00:00 2001 From: sayali Date: Mon, 23 Nov 2020 17:24:01 -0800 Subject: [PATCH] Uncomment code --- lemur/certificates/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lemur/certificates/views.py b/lemur/certificates/views.py index 8b8b36c3..52937fbd 100644 --- a/lemur/certificates/views.py +++ b/lemur/certificates/views.py @@ -1446,8 +1446,8 @@ class CertificateRevoke(AuthenticatedResource): 403, ) - # if not cert.external_id: - # return dict(message="Cannot revoke certificate. No external id found."), 400 + if not cert.external_id: + return dict(message="Cannot revoke certificate. No external id found."), 400 if cert.endpoints: for endpoint in cert.endpoints: