From 44465a31b726b692a011b60b46fb3da419a62ef6 Mon Sep 17 00:00:00 2001 From: Frank Rochlitzer Date: Wed, 25 Jun 2025 19:16:37 +0000 Subject: [PATCH] Fixed issue nextcloud/notes/#1538 This patch needs also the patch in notes. Thx for developing patch to @gaudryc Signed-off-by: Frank Rochlitzer --- src/services/WebdavClient.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/WebdavClient.ts b/src/services/WebdavClient.ts index cd33147b03f..345fa062f78 100644 --- a/src/services/WebdavClient.ts +++ b/src/services/WebdavClient.ts @@ -10,9 +10,9 @@ export const client = davGetClient() export const fetchNode = async (node: Node): Promise => { const propfindPayload = davGetDefaultPropfind() - const result = await client.stat(`${davRootPath}${node.path}`, { + const result = (await client.stat(`${node.root}${node.path}`, { details: true, data: propfindPayload, - }) as ResponseDataDetailed + })) as ResponseDataDetailed return davResultToNode(result.data) }