Skip to content

Commit

Permalink
Update container/shim/src/fetchers/lassie.js
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Guan <guanzo91@gmail.com>
  • Loading branch information
guanzo authored Mar 20, 2023
1 parent 7dd21f9 commit 9be5194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container/shim/src/fetchers/lassie.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 9be5194

Please sign in to comment.