Update WebDav.kt

This commit is contained in:
Xwite authored and GitHub committed 2023-03-06 17:51:47 +08:00
1 parent 74f14d413f
commit 756a90294d
1 file changed
+1 -1
@@ -33,7 +33,7 @@ import java.time.format.DateTimeFormatter
@Suppress("unused", "MemberVisibilityCanBePrivate") @Suppress("unused", "MemberVisibilityCanBePrivate")
open class WebDav( open class WebDav(
val path: String, val path: String,
val authorization: Authorization = Authorization(serverID), val authorization: Authorization = Authorization(AnalyzeUrl(path).serverID),
private val serverID: Long? = AnalyzeUrl(path).serverID private val serverID: Long? = AnalyzeUrl(path).serverID
) { ) {
companion object { companion object {