delete some imports

parent 56616a14
...@@ -34,5 +34,6 @@ connectToDatabase() ...@@ -34,5 +34,6 @@ connectToDatabase()
}) })
.catch((error: Error) => { .catch((error: Error) => {
console.log('Database connection failed'); console.log('Database connection failed');
console.log(error.message);
process.exit(); process.exit();
}); });
import express, {Router, Request, Response} from 'express'; import express, {Router, Request, Response} from 'express';
import {ObjectId} from 'mongodb';
import {collections} from '../services/database.service'; import {collections} from '../services/database.service';
import Link from '../models/links'; import Link from '../models/links';
import shortid from 'shortid'; import shortid from 'shortid';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment