Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-ding committed Nov 17, 2024
1 parent ba3f6de commit af2a304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit af2a304

Please sign in to comment.