mirror of
https://github.com/wassname/talk.git
synced 2026-08-15 12:55:10 +08:00
Fixed syntax error
This commit is contained in:
@@ -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'}));
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user