aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Web/Controllers/FeedController.cs
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-01-30 13:07:54 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-01-30 13:07:54 +0200
commit498af41f38b14372bd2f5eb9a0add7af95c40168 (patch)
tree31c00985399ee352c1a09f4d650f62696e117350 /src/DevHive.Web/Controllers/FeedController.cs
parenta8cc808396a24f0a5e4262d07e3edae1a4e5fc1d (diff)
downloadDevHive-498af41f38b14372bd2f5eb9a0add7af95c40168.tar
DevHive-498af41f38b14372bd2f5eb9a0add7af95c40168.tar.gz
DevHive-498af41f38b14372bd2f5eb9a0add7af95c40168.zip
Fixed GetUserPosts implementation
Diffstat (limited to 'src/DevHive.Web/Controllers/FeedController.cs')
-rw-r--r--src/DevHive.Web/Controllers/FeedController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DevHive.Web/Controllers/FeedController.cs b/src/DevHive.Web/Controllers/FeedController.cs
index 4fd3ae9..b04c37a 100644
--- a/src/DevHive.Web/Controllers/FeedController.cs
+++ b/src/DevHive.Web/Controllers/FeedController.cs
@@ -43,7 +43,7 @@ namespace DevHive.Web.Controllers
GetPageServiceModel getPageServiceModel = this._mapper.Map<GetPageServiceModel>(getPageWebModel);
getPageServiceModel.Username = username;
- ReadPageServiceModel readPageServiceModel = await this._feedService.GetPage(getPageServiceModel);
+ ReadPageServiceModel readPageServiceModel = await this._feedService.GetUserPage(getPageServiceModel);
ReadPageWebModel readPageWebModel = this._mapper.Map<ReadPageWebModel>(readPageServiceModel);
return new OkObjectResult(readPageWebModel);