From 9f2dc526f24f9d42254fbe2c0ab8ad697b75d326 Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Sat, 24 May 2025 19:20:13 +0300 Subject: [PATCH] Update create.ts --- scripts/commands/report/create.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/commands/report/create.ts b/scripts/commands/report/create.ts index c49a6413d8..61b84501f9 100644 --- a/scripts/commands/report/create.ts +++ b/scripts/commands/report/create.ts @@ -133,7 +133,7 @@ async function main() { const channelSearchRequestsBuffer = new Dictionary() channelSearchRequests.forEach((issue: Issue) => { const streamId = issue.data.getString('channelId') || '' - const [channelId] = streamId.split('@') + const [channelId, feedId] = streamId.split('@') const result = { issueNumber: issue.number, @@ -148,6 +148,7 @@ async function main() { else if (channelSearchRequestsBuffer.has(streamId)) result.status = 'duplicate' else if (blocklistRecordsGroupedByChannelId.has(channelId)) result.status = 'blocked' else if (streamsGroupedById.has(streamId)) result.status = 'fulfilled' + else if (!feedId && streamsGroupedByChannelId.has(channelId)) result.status = 'fulfilled' else { const channelData = channelsKeyById.get(channelId) if (channelData.length && channelData[0].closed) result.status = 'closed'