mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-25 02:48:54 +01:00
Fix depth not respected in propfind
This commit is contained in:
parent
bb71dcc22b
commit
c0e65e1c51
1 changed files with 3 additions and 0 deletions
|
@ -258,6 +258,9 @@ class _Files {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
return await _api.request("PROPFIND", path,
|
return await _api.request("PROPFIND", path,
|
||||||
|
header: {
|
||||||
|
if (depth != null) "Depth": depth.toString(),
|
||||||
|
},
|
||||||
body: builder.buildDocument().toXmlString());
|
body: builder.buildDocument().toXmlString());
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
_log.severe("[propfind] Failed while propfind", e);
|
_log.severe("[propfind] Failed while propfind", e);
|
||||||
|
|
Loading…
Reference in a new issue