Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
serviceData has system.codes, not system.systemCodes
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Braimbridge authored Jul 25, 2018
1 parent 36130b1 commit 0f72788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/find-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0f72788

Please sign in to comment.