aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-12-04 11:17:08 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-12-04 11:17:08 +0100
commitbe44767854709dbf7da4ba37fe4f16ac4e297f08 (patch)
tree93cc7c992a205f3ea76126b5f3035f3a9440e9a4 /server/models
parentd2cc03aaad62fa6cf1c64622229bcc83f24fccb6 (diff)
downloadPeerTube-be44767854709dbf7da4ba37fe4f16ac4e297f08.tar.gz
PeerTube-be44767854709dbf7da4ba37fe4f16ac4e297f08.tar.zst
PeerTube-be44767854709dbf7da4ba37fe4f16ac4e297f08.zip
Fix lint
Diffstat (limited to 'server/models')
-rw-r--r--server/models/account/account.ts1
-rw-r--r--server/models/avatar/avatar.ts2
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
13import { AVATARS_DIR } from '../../initializers' 13import { AVATARS_DIR } from '../../initializers'
14import { CONFIG, CONSTRAINTS_FIELDS } from '../../initializers/constants' 14import { CONFIG, CONSTRAINTS_FIELDS } from '../../initializers/constants'
15import { sendDeleteAccount } from '../../lib/activitypub/send/send-delete' 15import { sendDeleteAccount } from '../../lib/activitypub/send/send-delete'
16import { AvatarModel } from '../avatar'
17import { addMethodsToModel } from '../utils' 16import { addMethodsToModel } from '../utils'
18import { AccountAttributes, AccountInstance, AccountMethods } from './account-interface' 17import { 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 @@
1import * as Sequelize from 'sequelize' 1import * as Sequelize from 'sequelize'
2import { addMethodsToModel } from '../utils' 2import { addMethodsToModel } from '../utils'
3import { AvatarAttributes, AvatarInstance, AvatarMethods } from './avatar-interface' 3import { AvatarAttributes, AvatarInstance } from './avatar-interface'
4 4
5let Avatar: Sequelize.Model<AvatarInstance, AvatarAttributes> 5let Avatar: Sequelize.Model<AvatarInstance, AvatarAttributes>
6 6