diff options
Diffstat (limited to 'server/types/plugins')
-rw-r--r-- | server/types/plugins/register-server-option.model.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/types/plugins/register-server-option.model.ts b/server/types/plugins/register-server-option.model.ts index 74303d383..2e52d1efd 100644 --- a/server/types/plugins/register-server-option.model.ts +++ b/server/types/plugins/register-server-option.model.ts | |||
@@ -1,4 +1,3 @@ | |||
1 | import * as Bluebird from 'bluebird' | ||
2 | import { Router } from 'express' | 1 | import { Router } from 'express' |
3 | import { Logger } from 'winston' | 2 | import { Logger } from 'winston' |
4 | import { ActorModel } from '@server/models/activitypub/actor' | 3 | import { ActorModel } from '@server/models/activitypub/actor' |
@@ -29,7 +28,7 @@ export type PeerTubeHelpers = { | |||
29 | } | 28 | } |
30 | 29 | ||
31 | videos: { | 30 | videos: { |
32 | loadByUrl: (url: string) => Bluebird<MVideoThumbnail> | 31 | loadByUrl: (url: string) => Promise<MVideoThumbnail> |
33 | 32 | ||
34 | removeVideo: (videoId: number) => Promise<void> | 33 | removeVideo: (videoId: number) => Promise<void> |
35 | } | 34 | } |