diff --git a/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Posts/PostAppService.cs b/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Posts/PostAppService.cs index da2db68db4..0158dc0e5a 100644 --- a/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Posts/PostAppService.cs +++ b/modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/Posts/PostAppService.cs @@ -191,11 +191,7 @@ namespace Volo.Blogging.Posts public async Task> GetListByUserIdAsync(Guid userId) { var posts = await PostRepository.GetListByUserIdAsync(userId); - - if (CurrentUser != null) - { - - } + return ObjectMapper.Map, List>(posts); }