[backend/drive] Fix object storage migrator db query warnings

This commit is contained in:
Laura Hausmann 2024-05-28 15:08:43 +02:00
parent 51f0890c36
commit dd22bd5393
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -31,6 +31,7 @@ public class StorageMaintenanceService(
.Where(p => p.StoredInternal && !p.IsLink)
.GroupBy(p => p.AccessKey)
.Select(p => p.Key)
.OrderBy(p => p)
.Take(100)
.ToListAsync();