This commit is contained in:
okbel
2018-02-28 18:07:28 -03:00
parent 70d081df4a
commit 20bec20437
3 changed files with 3 additions and 3 deletions
@@ -84,7 +84,7 @@ const slots = ['commentBox'];
export default withFragments({
comment: gql`
fragment CoralAdmin_CommentDetails_comment on Comment {
fragment TalkEmbedStream_DraftArea_comment on Comment {
__typename
${getSlotFragmentSpreads(slots, 'comment')}
}
@@ -47,7 +47,6 @@ export default {
update: proxy => {
const editCommentFragment = gql`
fragment Talk_EditComment on Comment {
body
richTextBody
}
`;
+2 -1
View File
@@ -8,6 +8,7 @@ const cloneDeep = require('lodash/cloneDeep');
const errors = require('../errors');
const events = require('./events');
const merge = require('lodash/merge');
const { dotize } = require('./utils');
const { COMMENTS_NEW, COMMENTS_EDIT } = require('./events/constants');
module.exports = class CommentsService {
@@ -110,7 +111,7 @@ module.exports = class CommentsService {
$set: {
body,
status,
metadata,
metadata: dotize(metadata),
},
$push: {
body_history: {