Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Commit

Permalink
Merge pull request #198 from vkhomiv-hubspot/update-companies-gtByDom…
Browse files Browse the repository at this point in the history
…ain-method

Update method getByDomain to use new hubspot API URL
  • Loading branch information
pcothenet authored Oct 8, 2019
2 parents 5c58360 + cf89314 commit 5bac3de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/company.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ class Company {

getByDomain(domain) {
return this.client._request({
method: 'GET',
path: '/companies/v2/companies/domain/' + domain,
method: 'POST',
path: `/companies/v2/domains/${domain}/companies`,
})
}

Expand Down

0 comments on commit 5bac3de

Please sign in to comment.