aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Services/Services/PostService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DevHive.Services/Services/PostService.cs')
-rw-r--r--src/DevHive.Services/Services/PostService.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DevHive.Services/Services/PostService.cs b/src/DevHive.Services/Services/PostService.cs
index 4757937..2df3b41 100644
--- a/src/DevHive.Services/Services/PostService.cs
+++ b/src/DevHive.Services/Services/PostService.cs
@@ -33,7 +33,7 @@ namespace DevHive.Services.Services
bool success = await this._postRepository.AddAsync(post);
- if(success)
+ if (success)
{
Post newPost = await this._postRepository.GetPostByIssuerAndTimeCreatedAsync(postServiceModel.IssuerId, postServiceModel.TimeCreated);
return newPost.Id;
@@ -49,7 +49,7 @@ namespace DevHive.Services.Services
bool success = await this._postRepository.AddCommentAsync(comment);
- if(success)
+ if (success)
{
Comment newComment = await this._postRepository.GetCommentByIssuerAndTimeCreatedAsync(commentServiceModel.IssuerId, commentServiceModel.TimeCreated);
return newComment.Id;