mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-06-05 14:25:17 -04:00
Metadata Downloading (#3525)
This commit is contained in:
@@ -45,8 +45,8 @@ public class WantToReadSyncService : IWantToReadSyncService
|
||||
|
||||
var license = (await _unitOfWork.SettingsRepository.GetSettingAsync(ServerSettingKey.LicenseKey)).Value;
|
||||
|
||||
var users = await _unitOfWork.UserRepository.GetAllUsersAsync(AppUserIncludes.WantToRead);
|
||||
foreach (var user in users)
|
||||
var users = await _unitOfWork.UserRepository.GetAllUsersAsync(AppUserIncludes.WantToRead | AppUserIncludes.UserPreferences);
|
||||
foreach (var user in users.Where(u => u.UserPreferences.WantToReadSync))
|
||||
{
|
||||
if (string.IsNullOrEmpty(user.MalUserName) && string.IsNullOrEmpty(user.AniListAccessToken)) continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user