From 120bb76a3b62d9488ab9eb94c4c636df7b505336 Mon Sep 17 00:00:00 2001 From: Jannik Stehle Date: Wed, 9 Feb 2022 09:16:20 +0100 Subject: [PATCH] Fix integration tests --- packages/web-app-files/src/helpers/resources.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/web-app-files/src/helpers/resources.js b/packages/web-app-files/src/helpers/resources.js index a55fb01b3f3..c123a6bb402 100644 --- a/packages/web-app-files/src/helpers/resources.js +++ b/packages/web-app-files/src/helpers/resources.js @@ -103,11 +103,11 @@ export function buildResource(resource) { } export function buildWebDavFilesPath(userId, path) { - return `files/${userId}/${path}` + return `/files/${userId}/${path}` } export function buildWebDavSpacesPath(spaceId, path) { - return `spaces/${spaceId}/${path}` + return `/spaces/${spaceId}/${path}` } export function attachIndicators(resource, sharesTree) {