mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2025-12-16 12:33:17 +00:00
refactor imports/exports
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user