Skip to content

Commit

Permalink
Do not create the app on importing index.ts #2559
Browse files Browse the repository at this point in the history
  • Loading branch information
iamleeg committed Apr 19, 2022
1 parent 0de34a7 commit 02f679c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions verification/curator-service/api/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,6 @@ import S3 from 'aws-sdk/clients/s3';
import cors from 'cors';
import db, { connectToDatabase, mongoClient } from './model/database';

makeApp().then(() => {
logger.info('App running');
})
.catch((e) => {
logger.error('App not running', e);
});

async function makeApp() {
const app = express();

Expand Down

0 comments on commit 02f679c

Please sign in to comment.