Work around nullable ints

This commit is contained in:
2025-07-30 22:01:15 -07:00
parent 47bc07e327
commit f3a0611b1d
6 changed files with 8 additions and 8 deletions
@@ -143,7 +143,7 @@ namespace BoredCareers.Services.DatabaseService {
// Split into grouped lists and add to experience
Dictionary<int, ResumeExperienceBullet[]> groupedExperienceBullets = experienceBullets.GroupBy(b => b.ResumeExperienceID).ToDictionary(g => g.Key, g => g.ToArray());
foreach (ResumeExperience cur in experience) {
cur.ExperienceBullets = groupedExperienceBullets[cur.ID];
cur.ExperienceBullets = groupedExperienceBullets[Convert.ToInt32(cur.ID)];
}
// Add the parts to the resume