API: Improve code docs

This commit is contained in:
Michael Mayer 2021-08-19 12:49:07 +02:00
parent 6911c9f78b
commit b14d7d140a

View file

@ -46,7 +46,7 @@ func MarkUploadAsFavorite(fileName string) {
log.Infof("webdav: marked %s as favorite", txt.Quote(filepath.Base(fileName))) log.Infof("webdav: marked %s as favorite", txt.Quote(filepath.Base(fileName)))
} }
// ANY /webdav/* // WebDAV handles any requests to /originals|import/*
func WebDAV(path string, router *gin.RouterGroup, conf *config.Config) { func WebDAV(path string, router *gin.RouterGroup, conf *config.Config) {
if router == nil { if router == nil {
log.Error("webdav: router is nil") log.Error("webdav: router is nil")