From 02ece8022795b980b8f4f1824a52615f5ed4d85e Mon Sep 17 00:00:00 2001 From: David Jay Date: Thu, 26 Jan 2017 17:42:45 -0500 Subject: [PATCH] Marking correct user as Pending on user flags. --- graph/mutators/action.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graph/mutators/action.js b/graph/mutators/action.js index 95a824c8a..3c4c32986 100644 --- a/graph/mutators/action.js +++ b/graph/mutators/action.js @@ -20,7 +20,7 @@ const createAction = ({user = {}}, {item_id, item_type, action_type, metadata = metadata }).then((result) => item_type === 'USERS' && action_type === 'FLAG' ? - UsersService.setStatus(user.id, 'PENDING').then(() => result) + UsersService.setStatus(item_id, 'PENDING').then(() => result) : result); };