We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7274051 + a9765dc commit 351e487Copy full SHA for 351e487
src/services/WebdavClient.ts
@@ -10,9 +10,9 @@ export const client = davGetClient()
10
11
export const fetchNode = async (node: Node): Promise<Node> => {
12
const propfindPayload = davGetDefaultPropfind()
13
- const result = await client.stat(`${davRootPath}${node.path}`, {
+ const result = (await client.stat(`${node.root}${node.path}`, {
14
details: true,
15
data: propfindPayload,
16
- }) as ResponseDataDetailed<FileStat>
+ })) as ResponseDataDetailed<FileStat>
17
return davResultToNode(result.data)
18
}
0 commit comments