diff --git a/apps/api/src/controllers/leo/search/SearchController.ts b/apps/api/src/controllers/leo/search/SearchController.ts index 54eca5512..8b6cda4cc 100644 --- a/apps/api/src/controllers/leo/search/SearchController.ts +++ b/apps/api/src/controllers/leo/search/SearchController.ts @@ -301,7 +301,7 @@ export class LeoSearchController { ): Promise { const trimmedPlateOrVin = _plateOrVin?.trim(); - if (!trimmedPlateOrVin || trimmedPlateOrVin.length < 3) { + if (!trimmedPlateOrVin || trimmedPlateOrVin.length <= 0) { return null; }