Merge pull request #56060 from Dev-next-gen/fix/report-edit-deleted-stream-id

fix: don't flag stream ID removal as invalid in report:create
This commit is contained in:
Blocket Flex
2026-10-22 14:05:09 -07:00
committed by GitHub
2 changed files with 18 additions and 1 deletions
+5 -1
View File
@@ -130,7 +130,11 @@ async function main() {
if (!streamUrl) result.status = status.MISSING_STREAM_URL
else if (streamsGroupedByUrl.missing(streamUrl)) result.status = status.NONEXISTENT_LINK
else if (channelId && data.channelsKeyById.missing(channelId))
else if (
channelId &&
!issue.dataSet.isDeleted('stream_id') &&
data.channelsKeyById.missing(channelId)
)
result.status = status.INVALID_CHANNEL_ID
report.add(result)