From 41bdabd6efddf6f41aad79e9c712b8cb74d0fb68 Mon Sep 17 00:00:00 2001 From: dan1M Date: Thu, 7 Nov 2024 17:36:22 +0100 Subject: [PATCH] fix: parsing id to string --- actions/airtable-procedures-urls/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/airtable-procedures-urls/index.js b/actions/airtable-procedures-urls/index.js index 264c8282867..4819fe84258 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.find((item) => item.alias.split(";").includes(record.fields[field_names.id]))?.token || "not_found", + updownToken: updownUrls.find((item) => item.alias.split(";").includes(record.fields[field_names.id].toString()))?.token || "not_found", startDate, endDate, }))