We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce80843 commit 6da15acCopy full SHA for 6da15ac
drivers/orbility/parking_user_sync.cr
@@ -146,7 +146,7 @@ class Orbility::ParkingUserSync < PlaceOS::Driver
146
if unmapped = user.unmapped
147
license_plates = unmapped[car_license_ext]?.try(&.as_a.map(&.as_s)) || PLATES_DEFAULT
148
end
149
- license_plates
+ license_plates.reject! { |plate| plate.blank? || plate.size > 12 }
150
151
152
getter cached_security_ids : Hash(String, String | Int64) = {} of String => String | Int64
0 commit comments