@meltwater/conversations-api-services 1.1.9 → 1.1.10
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.
|
@@ -480,7 +480,7 @@ async function likedByUser(token, externalId, authorExternalId, logger) {
|
|
|
480
480
|
'LinkedIn-Version': LINKEDIN_VERSION
|
|
481
481
|
}).then(result => result.body);
|
|
482
482
|
} catch (error) {
|
|
483
|
-
|
|
483
|
+
// linkedin throws an error if the user has not liked the post
|
|
484
484
|
return false;
|
|
485
485
|
}
|
|
486
486
|
return true;
|
|
@@ -458,7 +458,7 @@ export async function likedByUser(token, externalId, authorExternalId, logger) {
|
|
|
458
458
|
'LinkedIn-Version': LINKEDIN_VERSION
|
|
459
459
|
}).then(result => result.body);
|
|
460
460
|
} catch (error) {
|
|
461
|
-
|
|
461
|
+
// linkedin throws an error if the user has not liked the post
|
|
462
462
|
return false;
|
|
463
463
|
}
|
|
464
464
|
return true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meltwater/conversations-api-services",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
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",
|
|
@@ -630,7 +630,7 @@ export async function likedByUser(
|
|
|
630
630
|
})
|
|
631
631
|
.then((result) => result.body);
|
|
632
632
|
} catch (error) {
|
|
633
|
-
|
|
633
|
+
// linkedin throws an error if the user has not liked the post
|
|
634
634
|
return false;
|
|
635
635
|
}
|
|
636
636
|
return true;
|