Merge branch 'main' into help-wanted

This commit is contained in:
Daniel J. Summers 2021-06-19 23:18:52 -04:00
commit be7a894ff4
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<Nullable>enable</Nullable>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<FileVersion>1.0.0.0</FileVersion>
<AssemblyVersion>1.0.1.0</AssemblyVersion>
<FileVersion>1.0.1.0</FileVersion>
</PropertyGroup>
</Project>

View File

@ -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));
}