From 1a1d889178c6f458ad8017a04d94163006a7d064 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20W=C3=A4chter?= <lars.waechter@mni.thm.de> Date: Mon, 24 May 2021 20:47:40 +0200 Subject: [PATCH] Fix addComment function for new attributes --- src/app/services/http/comment.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/services/http/comment.service.ts b/src/app/services/http/comment.service.ts index 28ea29574..5617b8c5d 100644 --- a/src/app/services/http/comment.service.ts +++ b/src/app/services/http/comment.service.ts @@ -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')) -- GitLab