Skip to content

Commit

Permalink
teeny type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
m0ar committed Mar 21, 2024
1 parent 585bc9c commit 51131f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desci-server/src/scripts/fetch-drive-tree-for-cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ async function getTree(path?: string) {
console.log('get tree for path', path);
const target = `${url}${path ? `&dataPath=${path}` : ''}`;
const res = await fetch(target);
const { tree } = await res.json();
const { tree } = await res.json() as { tree: unknown };
return tree;
}

Expand Down

0 comments on commit 51131f4

Please sign in to comment.