diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-17 15:52:26 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:52 +0100 |
commit | 79d5caf994edd87ad721994490f10677be277497 (patch) | |
tree | 0db45893d8b78e34ce3d59849d0a331977a63d4b /server/lib/video-channel.ts | |
parent | 572f8d3dba44ba874f5c51023214273e3f5b643c (diff) | |
download | PeerTube-79d5caf994edd87ad721994490f10677be277497.tar.gz PeerTube-79d5caf994edd87ad721994490f10677be277497.tar.zst PeerTube-79d5caf994edd87ad721994490f10677be277497.zip |
Fix lint
Diffstat (limited to 'server/lib/video-channel.ts')
-rw-r--r-- | server/lib/video-channel.ts | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/server/lib/video-channel.ts b/server/lib/video-channel.ts index 6f9ae2d95..5bb1814ea 100644 --- a/server/lib/video-channel.ts +++ b/server/lib/video-channel.ts | |||
@@ -1,11 +1,9 @@ | |||
1 | import * as Sequelize from 'sequelize' | 1 | import * as Sequelize from 'sequelize' |
2 | 2 | import { VideoChannelCreate } from '../../shared/models' | |
3 | import { database as db } from '../initializers' | ||
4 | import { logger } from '../helpers' | 3 | import { logger } from '../helpers' |
4 | import { getActivityPubUrl } from '../helpers/activitypub' | ||
5 | import { database as db } from '../initializers' | ||
5 | import { AccountInstance } from '../models' | 6 | import { AccountInstance } from '../models' |
6 | import { VideoChannelCreate } from '../../shared/models' | ||
7 | import { sendCreateVideoChannel } from './activitypub/send-request' | ||
8 | import { getActivityPubUrl, shareVideoChannelByServer } from '../helpers/activitypub' | ||
9 | 7 | ||
10 | async function createVideoChannel (videoChannelInfo: VideoChannelCreate, account: AccountInstance, t: Sequelize.Transaction) { | 8 | async function createVideoChannel (videoChannelInfo: VideoChannelCreate, account: AccountInstance, t: Sequelize.Transaction) { |
11 | const videoChannelData = { | 9 | const videoChannelData = { |