From 96141d8abc75deda8e14c72dbca70b179035c529 Mon Sep 17 00:00:00 2001 From: Riley Davis Date: Tue, 20 Dec 2016 13:23:36 -0700 Subject: [PATCH] remove status from new comment --- client/coral-admin/src/actions/comments.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/client/coral-admin/src/actions/comments.js b/client/coral-admin/src/actions/comments.js index 448bba48a..a2a5965e2 100644 --- a/client/coral-admin/src/actions/comments.js +++ b/client/coral-admin/src/actions/comments.js @@ -44,11 +44,7 @@ export const fetchModerationQueueComments = () => { // Create a new comment export const createComment = (name, body) => { return dispatch => { - const comment = { - status: 'Untouched', - body, - name - }; + const comment = {body, name}; return coralApi('/comments', {method: 'POST', comment}) .then(res => dispatch({type: actions.COMMENT_CREATE_SUCCESS, comment: res})) .catch(error => dispatch({type: actions.COMMENT_CREATE_FAILED, error}));