Switching rejected usernames from suspended to banned.

This commit is contained in:
David Jay committed 2017-02-01 12:26:01 -05:00
1 parent 6c01a37f6a
commit 37975574ea
1 file changed
+1 -1
@@ -118,7 +118,7 @@ const mapDispatchToProps = dispatch => {
userStatusUpdate: (status, userId, commentId) => dispatch(userStatusUpdate(status, userId, commentId)).then(() => {
dispatch(fetchModerationQueueComments());
}),
suspendUser: (userId, subject, text) => dispatch(userStatusUpdate('suspended', userId))
suspendUser: (userId, subject, text) => dispatch(userStatusUpdate('BANNED', userId))
.then(() => dispatch(sendNotificationEmail(userId, subject, text)))
.then(() => dispatch(fetchModerationQueueComments()))
,