From: Lanius Trolling Date: Sun, 5 May 2024 15:52:55 +0000 (-0400) Subject: Holy crap, I can't believe I messed that up X-Git-Url: https://gitweb.starshipfights.net/?a=commitdiff_plain;h=dc4a2e9b9e3cf48d8a8ece0d975273b7ca189a3b;p=factbooks Holy crap, I can't believe I messed that up --- 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) } }