aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video/sql
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-06-11 16:44:33 +0200
committerChocobozzz <me@florianbigard.com>2021-06-11 16:44:33 +0200
commit520bf885c5e75914f85196b8350970f51c3e1976 (patch)
tree4e62d27781037f4164037f6422aeaec8bb06575b /server/models/video/sql
parent31d5d916c39c90546ac22e80a375997911cd2483 (diff)
downloadPeerTube-520bf885c5e75914f85196b8350970f51c3e1976.tar.gz
PeerTube-520bf885c5e75914f85196b8350970f51c3e1976.tar.zst
PeerTube-520bf885c5e75914f85196b8350970f51c3e1976.zip
Remove unnecessary log
Diffstat (limited to 'server/models/video/sql')
-rw-r--r--server/models/video/sql/shared/abstract-videos-query-builder.ts3
1 files changed, 0 insertions, 3 deletions
diff --git a/server/models/video/sql/shared/abstract-videos-query-builder.ts b/server/models/video/sql/shared/abstract-videos-query-builder.ts
index 10699317a..3a1ee5b1f 100644
--- a/server/models/video/sql/shared/abstract-videos-query-builder.ts
+++ b/server/models/video/sql/shared/abstract-videos-query-builder.ts
@@ -1,5 +1,4 @@
1import { QueryTypes, Sequelize, Transaction } from 'sequelize' 1import { QueryTypes, Sequelize, Transaction } from 'sequelize'
2import { logger } from '@server/helpers/logger'
3 2
4/** 3/**
5 * 4 *
@@ -14,8 +13,6 @@ export class AbstractVideosQueryBuilder {
14 protected replacements: any = {} 13 protected replacements: any = {}
15 14
16 protected runQuery (options: { transaction?: Transaction, logging?: boolean } = {}) { 15 protected runQuery (options: { transaction?: Transaction, logging?: boolean } = {}) {
17 logger.debug('Running videos query.', { query: this.query, replacements: this.replacements })
18
19 const queryOptions = { 16 const queryOptions = {
20 transaction: options.transaction, 17 transaction: options.transaction,
21 logging: options.logging, 18 logging: options.logging,