diff options
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/database.ts | 2 | ||||
-rw-r--r-- | server/initializers/migrator.ts | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/server/initializers/database.ts b/server/initializers/database.ts index 1662c1968..47604c6b0 100644 --- a/server/initializers/database.ts +++ b/server/initializers/database.ts | |||
@@ -144,7 +144,7 @@ function getModelFiles (modelDirectory: string, callback: (err: Error, filePaths | |||
144 | 144 | ||
145 | return eachCallback(null) | 145 | return eachCallback(null) |
146 | }) | 146 | }) |
147 | }, function(err: Error) { | 147 | }, function (err: Error) { |
148 | return callback(err, modelFilePaths) | 148 | return callback(err, modelFilePaths) |
149 | }) | 149 | }) |
150 | }) | 150 | }) |
diff --git a/server/initializers/migrator.ts b/server/initializers/migrator.ts index d72c60638..d8faaebc6 100644 --- a/server/initializers/migrator.ts +++ b/server/initializers/migrator.ts | |||
@@ -6,7 +6,6 @@ import * as Sequelize from 'sequelize' | |||
6 | import { database as db } from './database' | 6 | import { database as db } from './database' |
7 | import { LAST_MIGRATION_VERSION } from './constants' | 7 | import { LAST_MIGRATION_VERSION } from './constants' |
8 | import { logger } from '../helpers' | 8 | import { logger } from '../helpers' |
9 | import { ApplicationInstance } from '../models' | ||
10 | 9 | ||
11 | function migrate (finalCallback: (err: Error) => void) { | 10 | function migrate (finalCallback: (err: Error) => void) { |
12 | waterfall([ | 11 | waterfall([ |