Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
dan1M committed Oct 31, 2024
1 parent d7daea6 commit ef63411
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion actions/airtable-procedures-urls/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const getAirtableUrls = async (
link: record.fields[field_names.link]
? record.fields[field_names.link].replaceAll("\n", "").trim()
: "",
updownToken: updownUrls.map(u => u.token ).join(),// updownUrls.find((item) => item.alias === record.fields[field_names.id])?.token || "not_found",
updownToken: updownUrls.find((item) => item.alias === record.fields[field_names.id])?.token || "not_found(" + updownUrls.map(item => item.alias).join() + ")",
startDate,
endDate,
}))
Expand Down
2 changes: 0 additions & 2 deletions actions/updown/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ const getUpdownData = async (updownToken, updownApiKey, startDate, endDate) => {
to: endDate,
};

console.log("token:", updownToken);

const metrics_url = `https://updown.io/api/checks/${updownToken}/metrics?${encodeQueryParams(params)}`;

fetch(metrics_url, {
Expand Down

0 comments on commit ef63411

Please sign in to comment.