Update validate.ts

This commit is contained in:
freearhey
2026-08-17 01:12:46 +03:00
parent 82a6cf2451
commit 4d6660623d
+5 -3
View File
@@ -78,9 +78,11 @@ async function main() {
} }
} }
const streamId = data.getString('stream_id') if (!data.isDeleted('stream_id')) {
if (streamId) { const streamId = data.getString('stream_id')
errors = errors.concat(validateStreamId(streamId)) if (streamId) {
errors = errors.concat(validateStreamId(streamId))
}
} }
} }