mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 12:27:31 +00:00
misc: addressed lint issue
This commit is contained in:
+1
-1
@@ -84,7 +84,7 @@ export const InternalCertificateAuthorityFns = ({
|
|||||||
|
|
||||||
const caCertObj = new x509.X509Certificate(decryptedCaCert);
|
const caCertObj = new x509.X509Certificate(decryptedCaCert);
|
||||||
const notBeforeDate = new Date();
|
const notBeforeDate = new Date();
|
||||||
const notAfterDate = new Date(new Date().getTime() + ms(subscriber.ttl));
|
const notAfterDate = new Date(new Date().getTime() + ms(subscriber.ttl ?? "0"));
|
||||||
const caCertNotBeforeDate = new Date(caCertObj.notBefore);
|
const caCertNotBeforeDate = new Date(caCertObj.notBefore);
|
||||||
const caCertNotAfterDate = new Date(caCertObj.notAfter);
|
const caCertNotAfterDate = new Date(caCertObj.notAfter);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user