From adbf1ed8c4094ab5e281f69f045dba607c1d14b6 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 10 Nov 2020 17:04:09 +0100 Subject: [PATCH] Use our implementation of randomInt --- server/initializers/constants.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 @@ +import { randomInt } from '../../shared/core-utils/miscs/miscs' import { CronRepeatOptions, EveryRepeatOptions } from 'bull' -import { randomBytes, randomInt } from 'crypto' +import { randomBytes } from 'crypto' import { invert } from 'lodash' import { join } from 'path' import {