File size: 301 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
// @flow
import type { GraphQLContext } from '../../';
type GetCommunityMemberArgs = {
userId: string,
communityId: string,
};
export default (
_: any,
args: GetCommunityMemberArgs,
{ loaders }: GraphQLContext
) => loaders.userPermissionsInCommunity.load([args.userId, args.communityId]);
|