removed warnings

This commit is contained in:
Sarah Faey 2022-11-11 20:40:20 +01:00
parent 56cb43a479
commit a47bc3207d
3 changed files with 5 additions and 3 deletions

View file

@ -243,7 +243,10 @@ namespace Lieb.Data
apiReminder.UserIds = new List<ulong>();
foreach(RaidSignUp signUp in raid.SignUps)
{
apiReminder.UserIds.Add(signUp.LiebUserId);
if(signUp.LiebUserId > 0)
{
apiReminder.UserIds.Add(signUp.LiebUserId);
}
}
return apiReminder;
}