Skip to content

Commit

Permalink
Improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed May 2, 2024
1 parent de3ee70 commit fe0b1f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ticket-notifications/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ async function getOrder(orderApiUrl) {
const resp = await fetch(reqUrl);
const payload = await resp.json();

console.log(JSON.stringify({ payload }));
console.log(JSON.stringify({ orderPayload: payload }));
return payload;
}

Expand All @@ -26,7 +26,7 @@ async function getEvent(order) {
const resp = await fetch(reqUrl);
const payload = await resp.json();

console.log(JSON.stringify({ payload }));
console.log(JSON.stringify({ eventPayload: payload }));
return payload;
}

Expand Down

0 comments on commit fe0b1f3

Please sign in to comment.