Fix depth not respected in propfind

This commit is contained in:
Ming Ming 2021-04-24 19:50:57 +08:00
parent bb71dcc22b
commit c0e65e1c51

View file

@ -258,6 +258,9 @@ class _Files {
});
});
return await _api.request("PROPFIND", path,
header: {
if (depth != null) "Depth": depth.toString(),
},
body: builder.buildDocument().toXmlString());
} catch (e) {
_log.severe("[propfind] Failed while propfind", e);