@meltwater/conversations-api-services 1.0.29 → 1.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -501,9 +501,9 @@ async function getOrganizations(urn, token) {
|
|
|
501
501
|
return res.results[id];
|
|
502
502
|
});
|
|
503
503
|
} catch (error) {
|
|
504
|
-
|
|
504
|
+
_logger.default.error(`Failed requesting LinkedIn API for organization id ${id}`, error);
|
|
505
505
|
}
|
|
506
|
-
|
|
506
|
+
_logger.default.info(`Finished requesting LinkedIn API for organization id ${id}`);
|
|
507
507
|
return organizations;
|
|
508
508
|
}
|
|
509
509
|
function fixedEncodeURIComponent(str) {
|
|
@@ -490,9 +490,9 @@ export async function getOrganizations(urn, token) {
|
|
|
490
490
|
return res.results[id];
|
|
491
491
|
});
|
|
492
492
|
} catch (error) {
|
|
493
|
-
|
|
493
|
+
logger.error(`Failed requesting LinkedIn API for organization id ${id}`, error);
|
|
494
494
|
}
|
|
495
|
-
|
|
495
|
+
logger.info(`Finished requesting LinkedIn API for organization id ${id}`);
|
|
496
496
|
return organizations;
|
|
497
497
|
}
|
|
498
498
|
function fixedEncodeURIComponent(str) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meltwater/conversations-api-services",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.30",
|
|
4
4
|
"description": "Repository to contain all conversations api services shared across our services",
|
|
5
5
|
"main": "dist/cjs/data-access/index.js",
|
|
6
6
|
"module": "dist/esm/data-access/index.js",
|
|
@@ -678,13 +678,13 @@ export async function getOrganizations(urn, token) {
|
|
|
678
678
|
return res.results[id];
|
|
679
679
|
});
|
|
680
680
|
} catch (error) {
|
|
681
|
-
|
|
681
|
+
logger.error(
|
|
682
682
|
`Failed requesting LinkedIn API for organization id ${id}`,
|
|
683
683
|
error
|
|
684
684
|
);
|
|
685
685
|
}
|
|
686
686
|
|
|
687
|
-
|
|
687
|
+
logger.info(
|
|
688
688
|
`Finished requesting LinkedIn API for organization id ${id}`
|
|
689
689
|
);
|
|
690
690
|
|