From af2a30405c66cc43234728b44a2b159e1b7a4d89 Mon Sep 17 00:00:00 2001 From: Simon Ding Date: Sun, 17 Nov 2024 22:10:24 +0800 Subject: [PATCH] fix --- db/db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/db.go b/db/db.go index 1533fb8..5b37719 100644 --- a/db/db.go +++ b/db/db.go @@ -441,7 +441,7 @@ type Storage struct { } func (s *Storage) ToWebDavSetting() WebdavSetting { - if s.Implementation != storage.ImplementationWebdav { + if s.Implementation != storage.ImplementationWebdav && s.Implementation != storage.ImplementationAlist{ panic("not webdav storage") } var webdavSetting WebdavSetting