This reverts commit 692b530623.
This commit is contained in:
@@ -17,7 +17,6 @@ import { InteriorAPI } from './datasources/interior-api';
|
||||
|
||||
import { verifyToken } from './cognito/cognito-client';
|
||||
import { readFileSync } from 'fs';
|
||||
import { InteriorsLambdaAPI } from './datasources/interiors-lambda-api';
|
||||
const path = require('path');
|
||||
const typeDefs = readFileSync(
|
||||
path.join(__dirname, './schema.graphql'),
|
||||
@@ -30,7 +29,6 @@ const knexConfig = knexStringcase(dbConfig);
|
||||
const categoryApi = new CategoryAPI(knexConfig);
|
||||
const designerApi = new DesignerAPI(knexConfig);
|
||||
const imageServerApi = new ImageServerApi();
|
||||
const interiorsLambdaApi = new InteriorsLambdaAPI();
|
||||
const interiorApi = new InteriorAPI(knexConfig, imageServerApi);
|
||||
const keywordApi = new KeywordAPI(knexConfig);
|
||||
const marketLocaleApi = new MarketLocaleAPI(knexConfig);
|
||||
@@ -41,7 +39,6 @@ const dataSources = () => ({
|
||||
categoryApi,
|
||||
designerApi,
|
||||
interiorApi,
|
||||
interiorsLambdaApi,
|
||||
imageServerApi,
|
||||
keywordApi,
|
||||
marketLocaleApi,
|
||||
|
||||
Reference in New Issue
Block a user