X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fhelpers%2Futils.ts;h=6b9333b533a6282d83343d22696a69ec89251ac6;hb=1bb4c9ab2e8b3b3022351b33a82a5e527fa5d4d7;hp=882f808abaa9583fd68b3ec87335f0355a21236d;hpb=06aad80165d09a8863ab8103149a8ff518b10641;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/helpers/utils.ts b/server/helpers/utils.ts index 882f808ab..6b9333b53 100644 --- a/server/helpers/utils.ts +++ b/server/helpers/utils.ts @@ -1,9 +1,9 @@ import { remove } from 'fs-extra' import { Instance as ParseTorrent } from 'parse-torrent' import { join } from 'path' -import { ResultList } from '../../shared' +import { sha256 } from '@shared/extra-utils' +import { ResultList } from '@shared/models' import { CONFIG } from '../initializers/config' -import { sha256 } from '@shared/core-utils/crypto' import { execPromise, execPromise2, randomBytesPromise } from './core-utils' import { logger } from './logger'