diff options
author | Chocobozzz <me@florianbigard.com> | 2021-06-11 16:44:33 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-06-11 16:44:33 +0200 |
commit | 520bf885c5e75914f85196b8350970f51c3e1976 (patch) | |
tree | 4e62d27781037f4164037f6422aeaec8bb06575b /server/models/video | |
parent | 31d5d916c39c90546ac22e80a375997911cd2483 (diff) | |
download | PeerTube-520bf885c5e75914f85196b8350970f51c3e1976.tar.gz PeerTube-520bf885c5e75914f85196b8350970f51c3e1976.tar.zst PeerTube-520bf885c5e75914f85196b8350970f51c3e1976.zip |
Remove unnecessary log
Diffstat (limited to 'server/models/video')
-rw-r--r-- | server/models/video/sql/shared/abstract-videos-query-builder.ts | 3 |
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 @@ | |||
1 | import { QueryTypes, Sequelize, Transaction } from 'sequelize' | 1 | import { QueryTypes, Sequelize, Transaction } from 'sequelize' |
2 | import { 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, |