File size: 317 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// @flow
import type { DBCommunity } from 'shared/types';
import type { GraphQLContext } from '../../';

export default async (
  { id }: DBCommunity,
  _: any,
  { loaders }: GraphQLContext
) => {
  return await loaders.communitySettings.load(id).then(() => {
    return { isEnabled: null, message: null };
  });
};