diggylab 0.1.49 → 0.1.50
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/cli.js +1 -1
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -421,7 +421,7 @@ function parseFacebookGraphqlBody(body, groupUrl) {
|
|
|
421
421
|
function toComment(node) {
|
|
422
422
|
const typename = typeof node.__typename === "string" ? node.__typename : void 0;
|
|
423
423
|
const text = firstString(node, commentTextPaths);
|
|
424
|
-
if (!text || typename
|
|
424
|
+
if (!text || !typename || !/comment$/i.test(typename))
|
|
425
425
|
return void 0;
|
|
426
426
|
const authorName = firstString(node, commentAuthorPaths);
|
|
427
427
|
const authorAvatarUrl = firstString(node, commentAvatarPaths, false);
|