WebDAV: Improve update and reset of remote connection errors #1781

This commit is contained in:
Michael Mayer
2022-03-27 21:37:11 +02:00
parent 45922f8db0
commit 736b03f87f
22 changed files with 392 additions and 137 deletions

View File

@@ -49,7 +49,7 @@ func (m *FileSync) Updates(values interface{}) error {
return UnscopedDb().Model(m).UpdateColumns(values).Error
}
// Updates a column in the database.
// Update a column in the database.
func (m *FileSync) Update(attr string, value interface{}) error {
return UnscopedDb().Model(m).UpdateColumn(attr, value).Error
}