diff options
author | Chocobozzz <me@florianbigard.com> | 2020-12-08 14:30:29 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-12-09 11:41:22 +0100 |
commit | b49f22d8f9a52ab75fd38db2d377249eb58fa678 (patch) | |
tree | a2825877d7b3b53454804a79c9d2a14c5d37385c /server/types/plugins | |
parent | 6c8c15f914cd375da1db5d0cd4d924a86c53d4c1 (diff) | |
download | PeerTube-b49f22d8f9a52ab75fd38db2d377249eb58fa678.tar.gz PeerTube-b49f22d8f9a52ab75fd38db2d377249eb58fa678.tar.zst PeerTube-b49f22d8f9a52ab75fd38db2d377249eb58fa678.zip |
Upgrade sequelize to v6
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 | } |