diff options
Diffstat (limited to 'server/models')
-rw-r--r-- | server/models/account/account.ts | 1 | ||||
-rw-r--r-- | server/models/avatar/avatar.ts | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/server/models/account/account.ts b/server/models/account/account.ts index 15be1126b..8b0819f39 100644 --- a/server/models/account/account.ts +++ b/server/models/account/account.ts | |||
@@ -13,7 +13,6 @@ import { isActivityPubUrlValid } from '../../helpers/custom-validators/activityp | |||
13 | import { AVATARS_DIR } from '../../initializers' | 13 | import { AVATARS_DIR } from '../../initializers' |
14 | import { CONFIG, CONSTRAINTS_FIELDS } from '../../initializers/constants' | 14 | import { CONFIG, CONSTRAINTS_FIELDS } from '../../initializers/constants' |
15 | import { sendDeleteAccount } from '../../lib/activitypub/send/send-delete' | 15 | import { sendDeleteAccount } from '../../lib/activitypub/send/send-delete' |
16 | import { AvatarModel } from '../avatar' | ||
17 | import { addMethodsToModel } from '../utils' | 16 | import { addMethodsToModel } from '../utils' |
18 | import { AccountAttributes, AccountInstance, AccountMethods } from './account-interface' | 17 | import { AccountAttributes, AccountInstance, AccountMethods } from './account-interface' |
19 | 18 | ||
diff --git a/server/models/avatar/avatar.ts b/server/models/avatar/avatar.ts index 3d329d888..96308fd5f 100644 --- a/server/models/avatar/avatar.ts +++ b/server/models/avatar/avatar.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import * as Sequelize from 'sequelize' | 1 | import * as Sequelize from 'sequelize' |
2 | import { addMethodsToModel } from '../utils' | 2 | import { addMethodsToModel } from '../utils' |
3 | import { AvatarAttributes, AvatarInstance, AvatarMethods } from './avatar-interface' | 3 | import { AvatarAttributes, AvatarInstance } from './avatar-interface' |
4 | 4 | ||
5 | let Avatar: Sequelize.Model<AvatarInstance, AvatarAttributes> | 5 | let Avatar: Sequelize.Model<AvatarInstance, AvatarAttributes> |
6 | 6 | ||