From 45237c6f1b7a925659e0ec81842b7b69fe3b15c1 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Thu, 16 Mar 2017 20:28:37 +0000 Subject: [PATCH] Add exception for vehicleId of RZ216 (6352185295672181567) --- index.js | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/index.js b/index.js index 72abd34..21962ba 100644 --- a/index.js +++ b/index.js @@ -94,6 +94,11 @@ var type; var low; // low floor: 0 = no, 1 - semi, 2 - full + // Single exception - old id used in one case + if(id == 831) { + id = 216; + } + if(101 <= id && id <= 173) { prefix = 'HW'; type = 'E1'; -- Gitblit v1.9.1