Website Summary Files Commits Branches @commit @diff @stats
path: root / src / DevHive.Web / Controllers / FeedController.cs
diff options
context:
space:
mode:
Commit498af41f38b14372bd2f5eb9a0add7af95c40168 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-01-30 13:07:54 +0200
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2021-01-30 13:07:54 +0200
Files31c00985399ee352c1a09f4d650f62696e117350 /src/DevHive.Web/Controllers/FeedController.cs
DevHive-498af41f38b14372bd2f5eb9a0add7af95c40168.tar
DevHive-498af41f38b14372bd2f5eb9a0add7af95c40168.tar.gz
DevHive-498af41f38b14372bd2f5eb9a0add7af95c40168.zip
Parenta8cc808396a24f0a5e4262d07e3edae1a4e5fc1d (diff)
Fixed GetUserPosts implementation
1 files changed, 1 insertions, 1 deletions
-rw-r--r--src/DevHive.Web/Controllers/FeedController.cs2
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);