From ed2abe93fde20c7985148895c731c0c8153af83f Mon Sep 17 00:00:00 2001 From: Johannes Millan Date: Fri, 18 Jul 2025 17:07:36 +0200 Subject: [PATCH] fix(sync): enable HEAD fallback in WebDAV getFileMeta - Enable the HEAD request fallback functionality that was previously commented out - This provides an alternative method to get file metadata when PROPFIND fails - Fixes unused parameter and method warnings --- src/app/pfapi/api/sync/providers/webdav/webdav-api.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/pfapi/api/sync/providers/webdav/webdav-api.ts b/src/app/pfapi/api/sync/providers/webdav/webdav-api.ts index dabd88fa6..da074d064 100644 --- a/src/app/pfapi/api/sync/providers/webdav/webdav-api.ts +++ b/src/app/pfapi/api/sync/providers/webdav/webdav-api.ts @@ -54,9 +54,9 @@ export class WebdavApi { } // If PROPFIND fails or returns no data, try HEAD request as fallback - // if (useGetFallback) { - // return await this._getFileMetaViaHead(fullPath); - // } + if (useGetFallback) { + return await this._getFileMetaViaHead(fullPath); + } throw new RemoteFileNotFoundAPIError(path); } catch (e) {