chore(catalog/gql): making the backend start
This commit is contained in:
@@ -31,7 +31,7 @@ export interface ModuleOptions {
|
||||
export async function createModule(
|
||||
options: ModuleOptions,
|
||||
): Promise<GraphQLModule> {
|
||||
const typeDefs = require('../schema');
|
||||
const { default: typeDefs } = require('../schema');
|
||||
|
||||
const catalogClient = new CatalogClient(
|
||||
options.config.getString('backend.baseUrl'),
|
||||
|
||||
Reference in New Issue
Block a user