Skip to content
Snippets Groups Projects
Commit 6db4ebd1 authored by Hagen Dreßler's avatar Hagen Dreßler
Browse files

Edit service comment

parent 8b5a0a46
Branches
Tags
No related merge requests found
......@@ -27,7 +27,7 @@ export class CommentService extends ErrorHandlingService {
deleteComment(comment: Comment): Observable<Comment> {
const url = `${this.commentsUrl}/${comment.id}`;
return this.http.delete<Comment>(url, httpOptions).pipe(
tap (_ => console.log(comment)),
tap (_ => ''),
catchError(this.handleError<Comment>('deleteComment'))
);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment