This commit is contained in:
Simon Ding
2024-11-17 22:10:24 +08:00
parent ba3f6de852
commit af2a30405c

View File

@@ -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