|
@@ -26,7 +26,7 @@ class API {
|
|
|
static getCompanyID(info) {
|
|
|
return new Promise((resolve, reject) => {
|
|
|
|
|
|
- const url = '"https://api.linkedin.com/v2/search?q=companiesV2&baseSearchParams.keywords=spirit_3"';
|
|
|
+ const url = `https://api.linkedin.com/v2/organizations/${info.companyID}`;
|
|
|
const headers = {
|
|
|
'Authorization': 'Bearer ' + info.token,
|
|
|
'cache-control': 'no-cache',
|