Cleanup image redownload

This commit is contained in:
Zoe Roux 2024-04-29 17:49:48 +02:00
parent a8b25b9ef6
commit 7824a78e85
No known key found for this signature in database

View File

@ -62,7 +62,7 @@ public class MiscRepository(
}.Select(x => GetSql(x));
string sql = string.Join(" union all ", queries);
IEnumerable<Image?> ret = await database.QueryAsync<Image?>(sql);
return ret.Where(x => x != null).ToArray() as Image[];
return ret.ToArray() as Image[];
}
public async Task DownloadMissingImages()