diff --git a/csharp/App/Backend/Database/Db.cs b/csharp/App/Backend/Database/Db.cs index 959322d8f..b8100663e 100644 --- a/csharp/App/Backend/Database/Db.cs +++ b/csharp/App/Backend/Database/Db.cs @@ -1,5 +1,6 @@ using System.Reactive.Linq; using InnovEnergy.App.Backend.DataTypes; +using InnovEnergy.App.Backend.DataTypes.Methods; using InnovEnergy.App.Backend.Relations; using InnovEnergy.Lib.Utils; using SQLite; @@ -68,12 +69,8 @@ public static partial class Db return success; } - - - - - private static void Cleanup(Int64 _) + private static async Task Cleanup(Int64 _) { await UpdateS3Urls(); DeleteStaleSessions();