aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-02-28 16:51:25 +0100
committerChocobozzz <me@florianbigard.com>2020-02-28 16:51:25 +0100
commit366caf8b71f3d82336b6ac243845c783ef673fc1 (patch)
tree4a685d1177802dac160c6e758fd650c059b84a5d /server/initializers
parent3637106d7af7a72a9ec80a6b2769c6241f60d909 (diff)
downloadPeerTube-366caf8b71f3d82336b6ac243845c783ef673fc1.tar.gz
PeerTube-366caf8b71f3d82336b6ac243845c783ef673fc1.tar.zst
PeerTube-366caf8b71f3d82336b6ac243845c783ef673fc1.zip
Fix build with typescript 3.8
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/migrations/0135-video-channel-actor.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/migrations/0135-video-channel-actor.ts b/server/initializers/migrations/0135-video-channel-actor.ts
index c0c343384..3f620dfa3 100644
--- a/server/initializers/migrations/0135-video-channel-actor.ts
+++ b/server/initializers/migrations/0135-video-channel-actor.ts
@@ -240,7 +240,7 @@ async function up (utils: {
240 { 240 {
241 const query = 'SELECT * FROM "actor" WHERE "serverId" IS NULL AND "publicKey" IS NULL' 241 const query = 'SELECT * FROM "actor" WHERE "serverId" IS NULL AND "publicKey" IS NULL'
242 const options = { type: Sequelize.QueryTypes.SELECT as Sequelize.QueryTypes.SELECT } 242 const options = { type: Sequelize.QueryTypes.SELECT as Sequelize.QueryTypes.SELECT }
243 const [ res ] = await utils.sequelize.query(query, options) 243 const [ res ] = await utils.sequelize.query<any>(query, options)
244 244
245 for (const actor of res) { 245 for (const actor of res) {
246 const { privateKey, publicKey } = await createPrivateAndPublicKeys() 246 const { privateKey, publicKey } = await createPrivateAndPublicKeys()