aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models
diff options
context:
space:
mode:
Diffstat (limited to 'server/models')
-rw-r--r--server/models/video/video-channel.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/models/video/video-channel.ts b/server/models/video/video-channel.ts
index 1f4604f1d..f8414d4a8 100644
--- a/server/models/video/video-channel.ts
+++ b/server/models/video/video-channel.ts
@@ -264,7 +264,8 @@ loadByUrl = function (url: string, t?: Sequelize.Transaction) {
264 const query: Sequelize.FindOptions<VideoChannelAttributes> = { 264 const query: Sequelize.FindOptions<VideoChannelAttributes> = {
265 where: { 265 where: {
266 url 266 url
267 } 267 },
268 include: [ VideoChannel['sequelize'].models.Account ]
268 } 269 }
269 270
270 if (t !== undefined) query.transaction = t 271 if (t !== undefined) query.transaction = t