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
This commit is contained in:
Johannes Millan 2025-07-18 17:07:36 +02:00
parent dc9aea3714
commit ed2abe93fd

View file

@ -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) {