diff options
Diffstat (limited to 'server/models/user/user.ts')
-rw-r--r-- | server/models/user/user.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/models/user/user.ts b/server/models/user/user.ts index 3c625e450..c1e7abea6 100644 --- a/server/models/user/user.ts +++ b/server/models/user/user.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import * as Sequelize from 'sequelize' | 1 | import * as Sequelize from 'sequelize' |
2 | import * as Promise from 'bluebird' | 2 | import * as Promise from 'bluebird' |
3 | 3 | ||
4 | import { getSort } from '../utils' | 4 | import { getSort, addMethodsToModel } from '../utils' |
5 | import { | 5 | import { |
6 | cryptPassword, | 6 | cryptPassword, |
7 | comparePassword, | 7 | comparePassword, |
@@ -13,7 +13,6 @@ import { | |||
13 | } from '../../helpers' | 13 | } from '../../helpers' |
14 | import { UserRight, USER_ROLE_LABELS, hasUserRight } from '../../../shared' | 14 | import { UserRight, USER_ROLE_LABELS, hasUserRight } from '../../../shared' |
15 | 15 | ||
16 | import { addMethodsToModel } from '../utils' | ||
17 | import { | 16 | import { |
18 | UserInstance, | 17 | UserInstance, |
19 | UserAttributes, | 18 | UserAttributes, |