diff options
author | Chocobozzz <me@florianbigard.com> | 2020-11-10 17:04:09 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-11-10 17:04:09 +0100 |
commit | adbf1ed8c4094ab5e281f69f045dba607c1d14b6 (patch) | |
tree | 96d5946181c80926b0c53c9b043d974eadcd7746 /server/initializers | |
parent | b9da21bd5a3ad00f44997930391e3316182a07db (diff) | |
download | PeerTube-adbf1ed8c4094ab5e281f69f045dba607c1d14b6.tar.gz PeerTube-adbf1ed8c4094ab5e281f69f045dba607c1d14b6.tar.zst PeerTube-adbf1ed8c4094ab5e281f69f045dba607c1d14b6.zip |
Use our implementation of randomInt
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 6ab4d957a..501e06396 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -1,5 +1,6 @@ | |||
1 | import { randomInt } from '../../shared/core-utils/miscs/miscs' | ||
1 | import { CronRepeatOptions, EveryRepeatOptions } from 'bull' | 2 | import { CronRepeatOptions, EveryRepeatOptions } from 'bull' |
2 | import { randomBytes, randomInt } from 'crypto' | 3 | import { randomBytes } from 'crypto' |
3 | import { invert } from 'lodash' | 4 | import { invert } from 'lodash' |
4 | import { join } from 'path' | 5 | import { join } from 'path' |
5 | import { | 6 | import { |