diff --git a/blocks/agent-transactions/agent-transactions.js b/blocks/agent-transactions/agent-transactions.js index d7e13c00..dea0f63b 100644 --- a/blocks/agent-transactions/agent-transactions.js +++ b/blocks/agent-transactions/agent-transactions.js @@ -4,7 +4,7 @@ import { import { getMetadata } from '../../scripts/aem.js'; const getClosedTransactions = async () => { - const agentId = getMetadata('agent-id'); + const agentId = getMetadata('id'); const formattedData = []; try {