aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/types/plugins
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-12-08 14:30:29 +0100
committerChocobozzz <chocobozzz@cpy.re>2020-12-09 11:41:22 +0100
commitb49f22d8f9a52ab75fd38db2d377249eb58fa678 (patch)
treea2825877d7b3b53454804a79c9d2a14c5d37385c /server/types/plugins
parent6c8c15f914cd375da1db5d0cd4d924a86c53d4c1 (diff)
downloadPeerTube-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.ts3
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 @@
1import * as Bluebird from 'bluebird'
2import { Router } from 'express' 1import { Router } from 'express'
3import { Logger } from 'winston' 2import { Logger } from 'winston'
4import { ActorModel } from '@server/models/activitypub/actor' 3import { 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 }