From c63e0036cb25bfb40432516bc3f15ff93f17f2fb Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 1 Feb 2023 12:28:46 +0100 Subject: [PATCH] typo --- src/reverseproxy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reverseproxy.js b/src/reverseproxy.js index 3b06f58d7..12768818e 100644 --- a/src/reverseproxy.js +++ b/src/reverseproxy.js @@ -255,7 +255,7 @@ function getAcmeCertificateNameSync(fqdn, domainObject) { function needsRenewalSync(cert, options) { assert.strictEqual(typeof cert, 'string'); - assert.strictEqual(typeof options, 'string'); + assert.strictEqual(typeof options, 'object'); const { startDate, endDate } = getCertificateDatesSync(cert); const now = new Date();