Skip to content

Commit e7ee2c2

Browse files
authored
Update DefaultEntityRepository.cs
1 parent ff4de51 commit e7ee2c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JsonApiDotNetCore/Data/DefaultEntityRepository.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ public virtual async Task<TEntity> UpdateAsync(TId id, TEntity entity)
303303
{
304304
/// If we are updating to-many relations from PATCH, we need to include the relation first,
305305
/// else it will not peform a complete replacement, as required by the specs.
306-
/// Also, we currently not support the same for many-to-many
306+
/// Also, we currently do not support the same for many-to-many
307307
if (relationship.Key is HasManyAttribute && !(relationship.Key is HasManyThroughAttribute))
308308
await _context.Entry(oldEntity).Collection(relationship.Key.InternalRelationshipName).LoadAsync();
309309
relationship.Key.SetValue(oldEntity, relationship.Value); // article.tags = nieuwe lijst

0 commit comments

Comments
 (0)