Hub
All hub methods respond with a promise.
Fetch authenticated hub's information.
api.fetchHub().then((hub) => {
console.log(hub.name); // hubdot
});
Last updated
Was this helpful?
All hub methods respond with a promise.
Fetch authenticated hub's information.
api.fetchHub().then((hub) => {
console.log(hub.name); // hubdot
});
Last updated
Was this helpful?