This commit is contained in:
Chi Vinh Le
2017-06-12 23:45:46 +07:00
parent d628c26693
commit 70177d3a2c
4 changed files with 4 additions and 3 deletions
@@ -2,6 +2,8 @@ const wrapResponse = require('../../../graph/helpers/response');
const {SEARCH_OTHER_USERS} = require('../../../perms/constants');
function getReactionConfig(reaction) {
reaction = reaction.toLowerCase();
const Reaction = reaction.charAt(0).toUpperCase() + reaction.slice(1);
const REACTION = reaction.toUpperCase();
const typeDefs = `