diff --git a/src/app/services/http/comment.service.ts b/src/app/services/http/comment.service.ts index 266fdcf8105e25b2aeb10ee2a8a8a744f9f2b336..4befb9e3b9c3e04ce3cee7fa88f54f29484e8394 100644 --- a/src/app/services/http/comment.service.ts +++ b/src/app/services/http/comment.service.ts @@ -172,7 +172,7 @@ export class CommentService extends BaseHttpService { } role(comment: Comment) { - const connectionUrl = this.apiUrl.base + this.apiUrl.comment + '/' + comment.id + '/role'; + const connectionUrl = this.apiUrl.comment + '/' + comment.id + '/role'; return this.http.patch(connectionUrl, httpOptions).pipe( tap(_ => ''), catchError(this.handleError<any>('roleComment'))