Update internal/media/media.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Abhinav Raut
2025-11-25 17:17:47 +05:30
committed by GitHub
parent de3c0cf191
commit 80b249eaeb
+1 -1
View File
@@ -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
}