X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fhelpers%2Fcustom-validators%2Fusers.ts;h=56bc10b16eb624a8e9481bc49f3669b339611e48;hb=b6a1dd4d1b3b0032f8b968e72cbd074f646e8827;hp=e3ad9102ad030911f6ef5551f5081dce9d1aeeed;hpb=1eddc9a74f9a80fa5d0cb25fceb3fc47a1a3c14a;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/helpers/custom-validators/users.ts b/server/helpers/custom-validators/users.ts index e3ad9102a..56bc10b16 100644 --- a/server/helpers/custom-validators/users.ts +++ b/server/helpers/custom-validators/users.ts @@ -1,10 +1,9 @@ import 'express-validator' import * as validator from 'validator' -import { UserNotificationSettingValue, UserRole } from '../../../shared' +import { UserRole } from '../../../shared' import { CONSTRAINTS_FIELDS, NSFW_POLICY_TYPES } from '../../initializers/constants' -import { exists, isFileValid, isBooleanValid } from './misc' +import { exists, isBooleanValid, isFileValid } from './misc' import { values } from 'lodash' -import { UserAdminFlag } from '../../../shared/models/users/user-flag.model' const USERS_CONSTRAINTS_FIELDS = CONSTRAINTS_FIELDS.USERS