diff --git a/src/JobsJobsJobs/Directory.Build.props b/src/JobsJobsJobs/Directory.Build.props index d7dd852..1410d4b 100644 --- a/src/JobsJobsJobs/Directory.Build.props +++ b/src/JobsJobsJobs/Directory.Build.props @@ -2,7 +2,7 @@ net5.0 enable - 1.0.0.0 - 1.0.0.0 + 1.0.1.0 + 1.0.1.0 diff --git a/src/JobsJobsJobs/Server/Data/ProfileExtensions.cs b/src/JobsJobsJobs/Server/Data/ProfileExtensions.cs index cac0194..159fb38 100644 --- a/src/JobsJobsJobs/Server/Data/ProfileExtensions.cs +++ b/src/JobsJobsJobs/Server/Data/ProfileExtensions.cs @@ -68,7 +68,7 @@ namespace JobsJobsJobs.Server.Data if (!ids.Any()) return; db.Skills.RemoveRange(await db.Skills.AsNoTracking() - .Where(s => !ids.Contains(s.Id)).ToListAsync() + .Where(s => s.CitizenId == citizenId && !ids.Contains(s.Id)).ToListAsync() .ConfigureAwait(false)); }