aboutsummaryrefslogtreecommitdiff
path: root/src/app/services/post.service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/services/post.service.ts')
-rw-r--r--src/app/services/post.service.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/services/post.service.ts b/src/app/services/post.service.ts
index c8bd892..b49ffea 100644
--- a/src/app/services/post.service.ts
+++ b/src/app/services/post.service.ts
@@ -78,7 +78,7 @@ export class PostService {
deletePostRequest(postId: Guid, authToken: string): Observable<object> {
const options = {
- params: new HttpParams().set('Id', postId.toString()),
+ params: new HttpParams().set('PostId', postId.toString()),
headers: new HttpHeaders().set('Authorization', 'Bearer ' + authToken)
};
return this._http.delete(AppConstants.API_POST_URL, options);