Skip to content

Commit

Permalink
include bus as motor vehicle
Browse files Browse the repository at this point in the history
  • Loading branch information
karussell committed Jun 19, 2024
1 parent c9ef18d commit df80454
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/api/Api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,13 @@ export class ApiImpl implements Api {
}

public static isMotorVehicle(profile: string) {
return profile.includes('car') || profile.includes('truck') || profile.includes('scooter')
return (
profile.includes('car') ||
profile.includes('truck') ||
profile.includes('scooter') ||
profile.includes('bus') ||
profile.includes('motorcycle')
)
}

public static isTruck(profile: string) {
Expand Down

0 comments on commit df80454

Please sign in to comment.