diff --git a/index.js b/index.js index 20b27cd..154b63e 100644 --- a/index.js +++ b/index.js @@ -53,7 +53,7 @@ if(buffer instanceof Buffer){ //TODO Why is the suffic '_X' concatenated to the id? if (typeof routeId === 'string') { const routeIdLngth = routeId.length; - if (routeIdLngth === 7) { + if (routeIdLngth > 5) { const indexOf = routeId.indexOf('_'); if (indexOf === 5) { t.routeId = routeId.substring(0, 5);