From 9be51940935ade50a0634d7e02761b26cf405a77 Mon Sep 17 00:00:00 2001 From: Eric Guan Date: Mon, 20 Mar 2023 16:09:19 -0700 Subject: [PATCH] Update container/shim/src/fetchers/lassie.js Signed-off-by: Eric Guan --- container/shim/src/fetchers/lassie.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/container/shim/src/fetchers/lassie.js b/container/shim/src/fetchers/lassie.js index 92aac5a4..540aac24 100644 --- a/container/shim/src/fetchers/lassie.js +++ b/container/shim/src/fetchers/lassie.js @@ -77,7 +77,7 @@ export async function respondFromLassie(req, res, { cidObj, format }) { } lassieUrl.searchParams.set("format", "car"); // if no depth type set, default to shallow - if (!lassieUrl.searchParams.get("depthType")) { + if (!lassieUrl.searchParams.has("depthType")) { lassieUrl.searchParams.set("depthType", "shallow"); } const controller = new AbortController();