From dc4a2e9b9e3cf48d8a8ece0d975273b7ca189a3b Mon Sep 17 00:00:00 2001 From: Lanius Trolling Date: Sun, 5 May 2024 11:52:55 -0400 Subject: [PATCH] Holy crap, I can't believe I messed that up --- src/jvmMain/kotlin/info/mechyrdia/route/ResourceWebDav.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jvmMain/kotlin/info/mechyrdia/route/ResourceWebDav.kt b/src/jvmMain/kotlin/info/mechyrdia/route/ResourceWebDav.kt index 81f2c6a..fcba745 100644 --- a/src/jvmMain/kotlin/info/mechyrdia/route/ResourceWebDav.kt +++ b/src/jvmMain/kotlin/info/mechyrdia/route/ResourceWebDav.kt @@ -347,7 +347,7 @@ fun Route.installWebDav() { method(HttpMethod.parse("MKCOL")) { handle { call.webDavMkCol(call.webDavPath) } } method(HttpMethod.parse("PUT")) { handle { call.webDavPut(call.webDavPath) } } method(HttpMethod.parse("COPY")) { handle { call.webDavCopy(call.webDavPath) } } - method(HttpMethod.parse("MOVE")) { handle { call.webDavMkCol(call.webDavPath) } } + method(HttpMethod.parse("MOVE")) { handle { call.webDavMove(call.webDavPath) } } method(HttpMethod.parse("DELETE")) { handle { call.webDavDelete(call.webDavPath) } } method(HttpMethod.parse("LOCK")) { handle { call.webDavLock(call.webDavPath) } } method(HttpMethod.parse("UNLOCK")) { handle { call.webDavUnlock(call.webDavPath) } } -- 2.25.1