From aa6f39e62973d68080224a87bdcc51d444332403 Mon Sep 17 00:00:00 2001 From: Jon Jensen Date: Mon, 18 Dec 2023 13:11:41 -0800 Subject: [PATCH] Log additional metadata --- src/http/get-benefits/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/http/get-benefits/index.js b/src/http/get-benefits/index.js index bb1cf9e..85be122 100644 --- a/src/http/get-benefits/index.js +++ b/src/http/get-benefits/index.js @@ -83,6 +83,9 @@ exports.handler = arc.http.async(async (req) => { links, }; + const { links: dataLinks, ...metadata } = data; + console.log(metadata); + // If the client wants HTML, send it. if (acceptHeader === "text/html") { return {