From c2d428758db33066e88ad4b8e1807e67500d2a4e Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 20 Aug 2022 12:35:51 -0400 Subject: [PATCH] *Don't set a default options value --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index e9a7098..56a4c6b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -33,7 +33,7 @@ async function handleResolve(aq: ActiveQuery) { try { ret = await resolver.resolve( aq.callerInput.domain, - aq.callerInput?.options ?? {}, + aq.callerInput?.options, aq.callerInput?.bypassCache || false ); } catch (e: any) {