From 9fabc2eee58acdad65f3ab8080f64614cedc6a1d Mon Sep 17 00:00:00 2001 From: dale-wahl <32108944+dale-wahl@users.noreply.github.com> Date: Thu, 23 Jul 2026 10:07:01 +0000 Subject: [PATCH] chore: sync map_item for instagram from 4CAT 27dbc53dc535b9997257b27b446ce9ceb0449674 --- modules/instagram.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/instagram.js b/modules/instagram.js index 1e25083..528962f 100644 --- a/modules/instagram.js +++ b/modules/instagram.js @@ -852,11 +852,11 @@ function parseItemlistItem(node) { "url": "https://www.instagram.com/p/" + node.code, "body": caption, - "author_id": user.id ?? owner.id ?? new MissingMappedField(""), - "author": user.username ?? owner.username ?? new MissingMappedField(""), - "author_fullname": user.full_name ?? owner.full_name ?? new MissingMappedField(""), - "verified": Boolean(user.is_verified), - "author_avatar_url": user.profile_pic_url ?? owner.profile_pic_url ?? new MissingMappedField(""), + "author_id": user?.id ?? owner?.id ?? new MissingMappedField(""), + "author": user?.username ?? owner?.username ?? new MissingMappedField(""), + "author_fullname": user?.full_name ?? owner?.full_name ?? new MissingMappedField(""), + "verified": Boolean(user?.is_verified), + "author_avatar_url": user?.profile_pic_url ?? owner?.profile_pic_url ?? new MissingMappedField(""), "coauthors": coauthors, "coauthor_fullnames": coauthor_fullnames, "coauthor_ids": coauthor_ids,