From 76127dd13184d58cbcc15f53ec1484c48018adf3 Mon Sep 17 00:00:00 2001 From: fyears <1142836+fyears@users.noreply.github.com> Date: Mon, 21 Mar 2022 23:34:18 +0800 Subject: [PATCH] fix auto depth --- src/remoteForWebdav.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/remoteForWebdav.ts b/src/remoteForWebdav.ts index 5a53fb8..7c2105e 100644 --- a/src/remoteForWebdav.ts +++ b/src/remoteForWebdav.ts @@ -223,7 +223,7 @@ export class WrappedWebdavClient { const res = await this.client.customRequest(`/${this.vaultName}`, { method: "PROPFIND", headers: { - Depth: "Infinity", + Depth: "infinity", }, responseType: "text", });