linkedin-secret-sauce 0.3.10 → 0.3.11
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.
- package/dist/linkedin-api.js +2 -2
- package/package.json +1 -1
package/dist/linkedin-api.js
CHANGED
|
@@ -117,9 +117,9 @@ async function getProfileByUrn(fsdKey) {
|
|
|
117
117
|
if (!keyMatch) {
|
|
118
118
|
throw new errors_1.LinkedInClientError('Invalid URN or key', errors_1.ERROR_CODES.INVALID_INPUT, 400);
|
|
119
119
|
}
|
|
120
|
-
const cacheKey = keyMatch
|
|
120
|
+
const cacheKey = keyMatch; // Preserve case for FSD keys (case-sensitive)
|
|
121
121
|
try {
|
|
122
|
-
(0, logger_1.log)('info', 'api.start', { operation: 'getProfileByUrn', selector:
|
|
122
|
+
(0, logger_1.log)('info', 'api.start', { operation: 'getProfileByUrn', selector: keyMatch });
|
|
123
123
|
}
|
|
124
124
|
catch { }
|
|
125
125
|
const cachedUrn = getCached(profileCacheByUrn, cacheKey, cfg.profileCacheTtl);
|