|
@@ -41,9 +41,10 @@ export class ConditionService {
|
|
|
|
|
|
|
|
const dto = new ConditionDto
|
|
const dto = new ConditionDto
|
|
|
dto.userId = comment.userId
|
|
dto.userId = comment.userId
|
|
|
- dto.favorability = fraction
|
|
|
|
|
|
|
+ dto.favorability = parseFloat(fraction)
|
|
|
dto.chatRoleId = moments.userId
|
|
dto.chatRoleId = moments.userId
|
|
|
|
|
|
|
|
|
|
+
|
|
|
const commentDto = new CommentDto
|
|
const commentDto = new CommentDto
|
|
|
commentDto.content = chat.message
|
|
commentDto.content = chat.message
|
|
|
commentDto.userId = comment.userId
|
|
commentDto.userId = comment.userId
|