Remove function keyword

This commit is contained in:
David Erwin
2016-11-10 14:57:57 -05:00
parent d9dc198d46
commit 89398120d5
+1 -1
View File
@@ -65,7 +65,7 @@ router.get('/status/pending', (req, res, next) => {
Setting
.getModerationSetting()
.then(function({moderation}){
.then(({moderation}) => {
let moderationValue = req.query.moderation;
if (typeof moderationValue === 'undefined' || moderationValue === undefined) {
moderationValue = moderation;