From a5352d5fef6ae759a9de592a3c74527ee47a46d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Onur=20P=C4=B1=C3=A7akc=C4=B1?= Date: Wed, 19 Apr 2023 12:43:32 +0300 Subject: [PATCH] Update PostAppService.cs --- .../Volo/Blogging/Posts/PostAppService.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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); }