From dd22bd539330fd9ae72f3dd4e15a879d162e2bc3 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Tue, 28 May 2024 15:08:43 +0200 Subject: [PATCH] [backend/drive] Fix object storage migrator db query warnings --- Iceshrimp.Backend/Core/Services/StorageMaintenanceService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Iceshrimp.Backend/Core/Services/StorageMaintenanceService.cs b/Iceshrimp.Backend/Core/Services/StorageMaintenanceService.cs index c60ade10..f1920681 100644 --- a/Iceshrimp.Backend/Core/Services/StorageMaintenanceService.cs +++ b/Iceshrimp.Backend/Core/Services/StorageMaintenanceService.cs @@ -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();