formatting

This commit is contained in:
philipp committed 2020-11-27 18:28:42 +01:00
1 parent 63635956ce
commit f7d7f5e75f
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -8,5 +8,5 @@ export default {
username: process.env.DB_USER, username: process.env.DB_USER,
password: process.env.DB_PASSWORD, password: process.env.DB_PASSWORD,
database: process.env.DB_NAME, database: process.env.DB_NAME,
entities: ["src/models/*.ts"] entities: ["src/models/*.ts"]
}; };
+2 -2
View File
@@ -1,6 +1,6 @@
import {createConnection} from "typeorm"; import { createConnection } from "typeorm";
export default async ()=> { export default async () => {
const connection = await createConnection(); const connection = await createConnection();
connection.synchronize(); connection.synchronize();
return connection; return connection;
+1 -1
View File
@@ -1,4 +1,4 @@
import {Application} from "express"; import { Application } from "express";
import bodyParser from 'body-parser'; import bodyParser from 'body-parser';
import cors from 'cors'; import cors from 'cors';