aboutsummaryrefslogtreecommitdiff
path: root/src/app/services/comment.service.ts
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-03-19 19:59:59 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-03-19 19:59:59 +0200
commit880ef888931d56d421b7c739c90c44b16d02a9fd (patch)
tree8c4df84801db2602c0b1392443a1f7a3393f3dce /src/app/services/comment.service.ts
parent30fa7e2ee78d7efb7f404a7f440d60eb86b98f2f (diff)
parent084238dfa39f31b3661362cbe8cdea44e8f05992 (diff)
downloadDevHive-Angular-880ef888931d56d421b7c739c90c44b16d02a9fd.tar
DevHive-Angular-880ef888931d56d421b7c739c90c44b16d02a9fd.tar.gz
DevHive-Angular-880ef888931d56d421b7c739c90c44b16d02a9fd.zip
Merge branch 'dev' of github.com:Team-Kaleidoscope/DevHive-Angular into major-redesign
Diffstat (limited to 'src/app/services/comment.service.ts')
-rw-r--r--src/app/services/comment.service.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/services/comment.service.ts b/src/app/services/comment.service.ts
index 29707ab..70ab005 100644
--- a/src/app/services/comment.service.ts
+++ b/src/app/services/comment.service.ts
@@ -55,7 +55,7 @@ export class CommentService {
getCommentRequest(id: Guid): Observable<object> {
const options = {
- params: new HttpParams().set('Id', id.toString())
+ params: new HttpParams().set('CommentId', id.toString())
};
return this._http.get(AppConstants.API_COMMENT_URL, options);
}
@@ -75,7 +75,7 @@ export class CommentService {
deleteCommentRequest(commentId: Guid, authToken: string): Observable<object> {
const options = {
- params: new HttpParams().set('Id', commentId.toString()),
+ params: new HttpParams().set('CommentId', commentId.toString()),
headers: new HttpHeaders().set('Authorization', 'Bearer ' + authToken)
};
return this._http.delete(AppConstants.API_COMMENT_URL, options);