From 23a5b236a2324e67310a8244ef57bc7dd6de0bcf Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Mon, 1 May 2017 12:05:45 -0300 Subject: [PATCH] Linting --- plugins/coral-plugin-respect/index.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/plugins/coral-plugin-respect/index.js b/plugins/coral-plugin-respect/index.js index 5e960976d..019f0ef11 100644 --- a/plugins/coral-plugin-respect/index.js +++ b/plugins/coral-plugin-respect/index.js @@ -3,11 +3,16 @@ const path = require('path'); const wrapResponse = require('../../graph/helpers/response'); module.exports = { - typeDefs: readFileSync(path.join(__dirname, 'server/typeDefs.graphql'), 'utf8'), + typeDefs: readFileSync( + path.join(__dirname, 'server/typeDefs.graphql'), + 'utf8' + ), resolvers: { RootMutation: { createRespect(_, {respect: {item_id, item_type}}, {mutators: {Action}}) { - return wrapResponse('respect')(Action.create({item_id, item_type, action_type: 'RESPECT'})); + return wrapResponse('respect')( + Action.create({item_id, item_type, action_type: 'RESPECT'}) + ); } } },