aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-08 11:22:22 +0200
committerChocobozzz <me@florianbigard.com>2021-10-11 09:37:26 +0200
commitab7b4f525b2edef5379ed8eb6abe223186380197 (patch)
tree6d71c752be966c773082792f1de19815a2f38b40 /shared/extra-utils
parent93a1e67f86be299b7337d229a2c15fbda0a0d6e1 (diff)
downloadPeerTube-ab7b4f525b2edef5379ed8eb6abe223186380197.tar.gz
PeerTube-ab7b4f525b2edef5379ed8eb6abe223186380197.tar.zst
PeerTube-ab7b4f525b2edef5379ed8eb6abe223186380197.zip
Remove unused comments
Diffstat (limited to 'shared/extra-utils')
-rw-r--r--shared/extra-utils/miscs/sql-command.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/shared/extra-utils/miscs/sql-command.ts b/shared/extra-utils/miscs/sql-command.ts
index 80c8cd271..bedb3349b 100644
--- a/shared/extra-utils/miscs/sql-command.ts
+++ b/shared/extra-utils/miscs/sql-command.ts
@@ -50,7 +50,6 @@ export class SQLCommand extends AbstractCommand {
50 async countVideoViewsOf (uuid: string) { 50 async countVideoViewsOf (uuid: string) {
51 const seq = this.getSequelize() 51 const seq = this.getSequelize()
52 52
53 // tslint:disable
54 const query = 'SELECT SUM("videoView"."views") AS "total" FROM "videoView" ' + 53 const query = 'SELECT SUM("videoView"."views") AS "total" FROM "videoView" ' +
55 `INNER JOIN "video" ON "video"."id" = "videoView"."videoId" WHERE "video"."uuid" = '${uuid}'` 54 `INNER JOIN "video" ON "video"."id" = "videoView"."videoId" WHERE "video"."uuid" = '${uuid}'`
56 55