diff options
| author | transtrike <transtrike@gmail.com> | 2021-01-31 18:55:42 +0200 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2021-01-31 18:55:42 +0200 |
| commit | a7634bc21adf4846aadbd6caeaa357f999e6a3a2 (patch) | |
| tree | 56a79c9b890ae125cb6582e410679d4b50a6bf1a /src | |
| parent | 1d6326e7bf14967c670247bea042c92a0a7ee94e (diff) | |
| download | DevHive-a7634bc21adf4846aadbd6caeaa357f999e6a3a2.tar DevHive-a7634bc21adf4846aadbd6caeaa357f999e6a3a2.tar.gz DevHive-a7634bc21adf4846aadbd6caeaa357f999e6a3a2.zip | |
Fixed comment editing
Diffstat (limited to 'src')
| -rw-r--r-- | src/DevHive.Web/Controllers/CommentController.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/DevHive.Web/Controllers/CommentController.cs b/src/DevHive.Web/Controllers/CommentController.cs index 150d622..9c3eeee 100644 --- a/src/DevHive.Web/Controllers/CommentController.cs +++ b/src/DevHive.Web/Controllers/CommentController.cs @@ -59,6 +59,7 @@ namespace DevHive.Web.Controllers UpdateCommentServiceModel updateCommentServiceModel = this._commentMapper.Map<UpdateCommentServiceModel>(updateCommentWebModel); updateCommentServiceModel.CreatorId = userId; + updateCommentServiceModel.CommentId = commentId; Guid id = await this._commentService.UpdateComment(updateCommentServiceModel); |
