diff --git a/actions/airtable-procedures-urls/index.js b/actions/airtable-procedures-urls/index.js index 56dccb2b15..95740bc90a 100644 --- a/actions/airtable-procedures-urls/index.js +++ b/actions/airtable-procedures-urls/index.js @@ -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, })) diff --git a/actions/updown/index.js b/actions/updown/index.js index 669277a792..42c75f4886 100644 --- a/actions/updown/index.js +++ b/actions/updown/index.js @@ -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, {