aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/model-loaders/video.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-08-03 11:54:08 +0200
committerChocobozzz <me@florianbigard.com>2022-08-03 11:54:08 +0200
commitfd59208e8ccd796f9ad7e35db82d0c33acfcb92c (patch)
treebfe0505304fe34850c7bc1e2a0f6c4c9641c49c1 /server/lib/model-loaders/video.ts
parent84992f56069644b11f28cca2bb46277cd5912b69 (diff)
downloadPeerTube-fd59208e8ccd796f9ad7e35db82d0c33acfcb92c.tar.gz
PeerTube-fd59208e8ccd796f9ad7e35db82d0c33acfcb92c.tar.zst
PeerTube-fd59208e8ccd796f9ad7e35db82d0c33acfcb92c.zip
Fix lint
Diffstat (limited to 'server/lib/model-loaders/video.ts')
-rw-r--r--server/lib/model-loaders/video.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/lib/model-loaders/video.ts b/server/lib/model-loaders/video.ts
index a64389a89..91057d405 100644
--- a/server/lib/model-loaders/video.ts
+++ b/server/lib/model-loaders/video.ts
@@ -8,7 +8,6 @@ import {
8 MVideoThumbnail 8 MVideoThumbnail
9} from '@server/types/models' 9} from '@server/types/models'
10 10
11
12type VideoLoadType = 'for-api' | 'all' | 'only-video' | 'id' | 'none' | 'only-immutable-attributes' 11type VideoLoadType = 'for-api' | 'all' | 'only-video' | 'id' | 'none' | 'only-immutable-attributes'
13 12
14function loadVideo (id: number | string, fetchType: 'for-api', userId?: number): Promise<MVideoFormattableDetails> 13function loadVideo (id: number | string, fetchType: 'for-api', userId?: number): Promise<MVideoFormattableDetails>