diff --git a/lib/find-service.js b/lib/find-service.js index 40d1f199..083cdac4 100644 --- a/lib/find-service.js +++ b/lib/find-service.js @@ -4,7 +4,7 @@ module.exports = exports = (services, name) => { let serviceData = services.find(service => service.name === name); if (!serviceData) { - serviceData = services.find(service => service.systemCode === name); + serviceData = services.find(service => service.code === name); } return serviceData || null;