Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: getConnectedHubByName #16

Closed
nathankellenicki opened this issue Feb 1, 2019 · 3 comments
Closed

Feature request: getConnectedHubByName #16

nathankellenicki opened this issue Feb 1, 2019 · 3 comments

Comments

@nathankellenicki
Copy link
Owner

Hi, @nathankellenicki
can you add a new method called getConnectedHubByName, that use friendly name configured by setName, instead of UUID?

Originally posted by @GianCann in #11 (comment)

@nathankellenicki
Copy link
Owner Author

nathankellenicki commented Feb 1, 2019

Hi @GianCann, I've added this in v1.8.0 which is now available. It is almost as you asked - getConnectedHubsByName (notice the plural), which returns an array of matching hubs. This is because multiple connected hubs can have the same name.

Hopefully this does what you need. :)

Documentation here: https://nathankellenicki.github.io/node-poweredup/PoweredUP.html#getConnectedHubsByName__anchor

@GianCann
Copy link

GianCann commented Feb 1, 2019

ok, thank you very much!

@nathankellenicki
Copy link
Owner Author

Closed, fixed with 9ced6da

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants