From e6b30b145085c3d09c804c9b603680eb07ef8168 Mon Sep 17 00:00:00 2001 From: RitwikSrivastava <45959816+RitwikSrivastava@users.noreply.github.com> Date: Wed, 17 Jul 2024 12:39:43 +0530 Subject: [PATCH] Update agent id from page metadata --- blocks/agent-testimonials/agent-testimonials.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocks/agent-testimonials/agent-testimonials.js b/blocks/agent-testimonials/agent-testimonials.js index 54419661..761f4f1d 100644 --- a/blocks/agent-testimonials/agent-testimonials.js +++ b/blocks/agent-testimonials/agent-testimonials.js @@ -44,7 +44,7 @@ export default function decorate(block) { }); }; - const externalID = getMetadata('externalid'); + const externalID = getMetadata('id'); fetch(`https://testimonialtree.com/Widgets/jsonFeed.aspx?widgetid=45133&externalID=${externalID}`) .then((response) => response.json()) .then((data) => {