WIP work on getting nextauth + graphql working

This commit is contained in:
Abel Luck 2023-06-06 11:46:35 +00:00
parent 45f8cb1234
commit 24d52eef3d
8 changed files with 668 additions and 21 deletions

View file

@ -8,8 +8,5 @@ export const metamigoDataProvider = async (client: any) => {
{},
{ introspection: { schema: schema.data.__schema } }
);
const dataProvider = async (type: any, resource: any, params: any) => graphqlDataProvider(type, resource, params);
return dataProvider;
return graphqlDataProvider;
};