Feat: remove console log
This commit is contained in:
parent
9f737560fb
commit
f00a5ba900
|
|
@ -8,7 +8,6 @@ import striptags from 'striptags';
|
||||||
@ValidatorConstraint({ name: 'validateContent', async: false })
|
@ValidatorConstraint({ name: 'validateContent', async: false })
|
||||||
export class ValidContent implements ValidatorConstraintInterface {
|
export class ValidContent implements ValidatorConstraintInterface {
|
||||||
validate(contentRaw: string, args: ValidationArguments) {
|
validate(contentRaw: string, args: ValidationArguments) {
|
||||||
console.log(args.object);
|
|
||||||
const content = striptags(contentRaw || '');
|
const content = striptags(contentRaw || '');
|
||||||
if (
|
if (
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue