Skip to content
Snippets Groups Projects
Commit 9326b48f authored by Lukas Haase's avatar Lukas Haase
Browse files

Merge branch '248-role-in-comment-service-doesn-t-find-path' into 'staging'

remove api in path

Closes #248

See merge request arsnova/topic-cloud!149
parents 2f473859 0449d493
Branches
Tags
No related merge requests found
...@@ -172,7 +172,7 @@ export class CommentService extends BaseHttpService { ...@@ -172,7 +172,7 @@ export class CommentService extends BaseHttpService {
} }
role(comment: Comment) { 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( return this.http.patch(connectionUrl, httpOptions).pipe(
tap(_ => ''), tap(_ => ''),
catchError(this.handleError<any>('roleComment')) catchError(this.handleError<any>('roleComment'))
......
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