X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fmiddlewares%2Fvalidators%2Favatar.ts;h=bab3ed118cd6858d48e16e58842618766ac4e4c9;hb=7d14d4d2ca82cc43c93b45bb1f90af975cfbf67c;hp=ddc14f53165b4d4dd045e25d7a1d94522ea06213;hpb=06215f15e0a9fea2ef95b8b49cb2b5868fb64017;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/middlewares/validators/avatar.ts b/server/middlewares/validators/avatar.ts index ddc14f531..bab3ed118 100644 --- a/server/middlewares/validators/avatar.ts +++ b/server/middlewares/validators/avatar.ts @@ -2,7 +2,7 @@ import * as express from 'express' import { body } from 'express-validator/check' import { isAvatarFile } from '../../helpers/custom-validators/users' import { areValidationErrors } from './utils' -import { CONSTRAINTS_FIELDS } from '../../initializers' +import { CONSTRAINTS_FIELDS } from '../../initializers/constants' import { logger } from '../../helpers/logger' import { cleanUpReqFiles } from '../../helpers/express-utils'