refactor imports/exports

This commit is contained in:
andres
2023-07-16 16:37:19 +02:00
parent 4a9bf1e858
commit 0f3e89900a

View File

@@ -9,7 +9,6 @@ import {
@ValidatorConstraint({ async: false })
export class IsOrderByConstraint implements ValidatorConstraintInterface {
validate(orderBy: string | null, args: ValidationArguments) {
console.log(orderBy)
if (!orderBy || orderBy === 'null' || orderBy === '') {
return true
}