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'})); } } },