People: Fix typo in previews.go #22

This commit is contained in:
Michael Mayer 2021-09-03 16:15:43 +02:00
parent c520cb4ee4
commit 6ad1fffd77

View file

@ -119,7 +119,7 @@ func UpdateSubjectPreviews() error {
"%s m WHERE m.subject_uid = %s.subject_uid AND m.subject_src = 'manual' ",
entity.Marker{}.TableName(),
entity.Subject{}.TableName())+
` AND m.file_hash <> '' AND ORDER BY m.size DESC LIMIT 1)
` AND m.file_hash <> '' ORDER BY m.size DESC LIMIT 1)
WHERE thumb_src='' AND deleted_at IS NULL`)).
Error
}