Skip to content

Commit

Permalink
Log additional metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
xjensen committed Dec 18, 2023
1 parent 88be616 commit aa6f39e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/http/get-benefits/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit aa6f39e

Please sign in to comment.