diff --git a/src/app/comment.service.ts b/src/app/comment.service.ts
index 7875906e33cf97facc5dd53164576a61eeae1bff..c9a47dc0c91db448a8051fd735d2920914c0890f 100644
--- a/src/app/comment.service.ts
+++ b/src/app/comment.service.ts
@@ -43,7 +43,7 @@ export class CommentService extends ErrorHandlingService {
   updateComment(comment: Comment): Observable<any> {
     return this.http.put(this.commentsUrl, comment, httpOptions).pipe(
       tap(_ => ''),
-      catchError(this.handleError<any>('updateComments'))
+      catchError(this.handleError<any>('updateComment'))
     );
   }
 }