Browse Source

Merge pull request #877 from Nongzhsh/FixedAddNewTagsBug

Fixed add new tags bug
pull/897/head
Halil İbrahim Kalkan 7 years ago
committed by GitHub
parent
commit
4cde976f9d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Posts/PostAppService.cs

3
modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Posts/PostAppService.cs

@ -228,8 +228,9 @@ namespace Volo.Blogging.Posts
{
tag.IncreaseUsageCount();
tag = await _tagRepository.UpdateAsync(tag);
post.AddTag(tag.Id);
}
post.AddTag(tag.Id);
}
}

Loading…
Cancel
Save