diff options
author | Chocobozzz <me@florianbigard.com> | 2020-01-28 14:45:17 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-01-28 14:45:17 +0100 |
commit | 0374b6b5cd685316f924874b2a3068bb345eb0dd (patch) | |
tree | 43731106158cd37cc616d0801fcc2681befc9708 /shared | |
parent | 2f1756a03ccf3546f9bbcd98bc149e350d3d950a (diff) | |
download | PeerTube-0374b6b5cd685316f924874b2a3068bb345eb0dd.tar.gz PeerTube-0374b6b5cd685316f924874b2a3068bb345eb0dd.tar.zst PeerTube-0374b6b5cd685316f924874b2a3068bb345eb0dd.zip |
Cleanup server fixme
Diffstat (limited to 'shared')
-rw-r--r-- | shared/extra-utils/miscs/sql.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/shared/extra-utils/miscs/sql.ts b/shared/extra-utils/miscs/sql.ts index 167649c6d..42599c20e 100644 --- a/shared/extra-utils/miscs/sql.ts +++ b/shared/extra-utils/miscs/sql.ts | |||
@@ -59,7 +59,6 @@ async function countVideoViewsOf (internalServerNumber: number, uuid: string) { | |||
59 | 59 | ||
60 | if (!total) return 0 | 60 | if (!total) return 0 |
61 | 61 | ||
62 | // FIXME: check if we really need parseInt | ||
63 | return parseInt(total + '', 10) | 62 | return parseInt(total + '', 10) |
64 | } | 63 | } |
65 | 64 | ||