From 1da5c570bf0f13c8f93390f8f16888322851f940 Mon Sep 17 00:00:00 2001 From: Wyatt Johnson Date: Fri, 31 Mar 2017 09:41:18 -0600 Subject: [PATCH] Fixed syntax error --- plugins/coral-plugin-respect/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/coral-plugin-respect/index.js b/plugins/coral-plugin-respect/index.js index 935c2fad3..2f94e208e 100644 --- a/plugins/coral-plugin-respect/index.js +++ b/plugins/coral-plugin-respect/index.js @@ -6,7 +6,7 @@ module.exports = { resolvers: { RootMutation: { createRespect(_, {respect: {item_id, item_type}}, {mutators: {Action}}) { - return wrapResponse(Action.create({item_id, item_type, action_type: 'RESPECT'})); + return wrapResponse('respect')(Action.create({item_id, item_type, action_type: 'RESPECT'})); } } },