lint fixes

This commit is contained in:
Belen Curcio
2017-09-19 11:43:10 -03:00
parent f1f9868028
commit 818ad07eac
2 changed files with 2 additions and 5 deletions
+2 -4
View File
@@ -107,7 +107,6 @@ const getUsersByQuery = async ({user, loaders: {Actions}}, {ids, limit, cursor,
};
};
/**
* Retrieves the count of users based on the passed in query.
* @param {Object} context graph context
@@ -129,10 +128,9 @@ const getCountByQuery = async ({loaders: {Actions}}, {action_type}) => {
});
}
return UserModel
.find(query)
.count();
.find(query)
.count();
};
/**