Skip to content
Snippets Groups Projects
Commit 1a1d8891 authored by Lars Wächter's avatar Lars Wächter
Browse files

Fix addComment function for new attributes

parent dc246e5f
No related merge requests found
......@@ -84,7 +84,7 @@ export class CommentService extends BaseHttpService {
{
roomId: comment.roomId, body: comment.body,
read: comment.read, creationTimestamp: comment.timestamp, tag: comment.tag,
keywordsFromSpacy: JSON.stringify(comment.keywordsFromSpacy), keywordsFromQuestionaire: JSON.stringify(comment.keywordsFromQuestionaire)
keywordsFromSpacy: JSON.stringify(comment.keywordsFromSpacy), keywordsFromQuestioner: JSON.stringify(comment.keywordsFromQuestioner)
}, httpOptions).pipe(
tap(_ => ''),
catchError(this.handleError<Comment>('addComment'))
......
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