Skip to content
This repository was archived by the owner on Nov 21, 2020. It is now read-only.

Commit 3cd5745

Browse files
author
batamar
committed
Fixed debug import order in index.ts
1 parent 084307d commit 3cd5745

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import typeDefs from './data/schema';
1414
import { checkFile, getEnv, readFileRequest, uploadFile } from './data/utils';
1515
import { connect } from './db/connection';
1616
import { Conversations, Customers } from './db/models';
17-
import { debugInit } from './debuggers';
1817
import integrationsApiMiddleware from './middlewares/integrationsApiMiddleware';
1918
import userMiddleware from './middlewares/userMiddleware';
2019
import { graphqlPubsub } from './pubsub';
@@ -24,6 +23,8 @@ import { importXlsFile } from './workers/bulkInsert';
2423
// load environment variables
2524
dotenv.config();
2625

26+
import { debugInit } from './debuggers';
27+
2728
const NODE_ENV = getEnv({ name: 'NODE_ENV' });
2829
const MAIN_APP_DOMAIN = getEnv({ name: 'MAIN_APP_DOMAIN', defaultValue: '' });
2930
const WIDGETS_DOMAIN = getEnv({ name: 'WIDGETS_DOMAIN', defaultValue: '' });

0 commit comments

Comments
 (0)