Skip to content

Commit a9765dc

Browse files
therochmejo-
authored andcommitted
Fixed issue nextcloud/notes/#1538
This patch needs also the patch in notes. Thx for developing patch to @gaudryc Signed-off-by: Frank Rochlitzer <[email protected]>
1 parent 8894e00 commit a9765dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/WebdavClient.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ export const client = davGetClient()
1010

1111
export const fetchNode = async (node: Node): Promise<Node> => {
1212
const propfindPayload = davGetDefaultPropfind()
13-
const result = await client.stat(`${davRootPath}${node.path}`, {
13+
const result = (await client.stat(`${node.root}${node.path}`, {
1414
details: true,
1515
data: propfindPayload,
16-
}) as ResponseDataDetailed<FileStat>
16+
})) as ResponseDataDetailed<FileStat>
1717
return davResultToNode(result.data)
1818
}

0 commit comments

Comments
 (0)