diff options
Diffstat (limited to 'server/initializers/migrations/0135-video-channel-actor.ts')
-rw-r--r-- | server/initializers/migrations/0135-video-channel-actor.ts | 2 |
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() |