- username: this.userValidatorsService.USER_USERNAME,
- channelName: this.userValidatorsService.USER_USERNAME,
- email: this.userValidatorsService.USER_EMAIL,
- password: this.isPasswordOptional() ? this.userValidatorsService.USER_PASSWORD_OPTIONAL : this.userValidatorsService.USER_PASSWORD,
- role: this.userValidatorsService.USER_ROLE,
- videoQuota: this.userValidatorsService.USER_VIDEO_QUOTA,
- videoQuotaDaily: this.userValidatorsService.USER_VIDEO_QUOTA_DAILY,
+ username: USER_USERNAME_VALIDATOR,
+ channelName: USER_CHANNEL_NAME_VALIDATOR,
+ email: USER_EMAIL_VALIDATOR,
+ password: this.isPasswordOptional() ? USER_PASSWORD_OPTIONAL_VALIDATOR : USER_PASSWORD_VALIDATOR,
+ role: USER_ROLE_VALIDATOR,
+ videoQuota: USER_VIDEO_QUOTA_VALIDATOR,
+ videoQuotaDaily: USER_VIDEO_QUOTA_DAILY_VALIDATOR,