chore: clean up backend code, fix most inspections
This commit is contained in:
parent
49b2902d6d
commit
11257ae069
21 changed files with 86 additions and 27 deletions
|
@ -38,7 +38,7 @@ public class MetricsCollectionService(ILogger logger, IServiceProvider services,
|
|||
// ReSharper disable once SuggestVarOrType_SimpleTypes
|
||||
await using var db = scope.ServiceProvider.GetRequiredService<DatabaseContext>();
|
||||
|
||||
List<Instant>? users = await db
|
||||
List<Instant> users = await db
|
||||
.Users.Where(u => !u.Deleted)
|
||||
.Select(u => u.LastActive)
|
||||
.ToListAsync(ct);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue