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