mirror of
https://github.com/abhinavxd/libredesk.git
synced 2026-09-20 09:33:26 +00:00
Update internal/media/media.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -198,7 +198,7 @@ func (m *Manager) Delete(name string) error {
|
||||
}
|
||||
}
|
||||
|
||||
// Return thumbs don't exist in DB, just on store.
|
||||
// Thumbnail files do not exist in the database, only in the storage backend, so return early.
|
||||
if strings.HasPrefix(name, image.ThumbPrefix) {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user