mirror of
https://github.com/iptv-org/iptv
synced 2026-09-06 03:50:47 -04:00
Update validate.ts
This commit is contained in:
@@ -78,9 +78,11 @@ async function main() {
|
||||
}
|
||||
}
|
||||
|
||||
const streamId = data.getString('stream_id')
|
||||
if (streamId) {
|
||||
errors = errors.concat(validateStreamId(streamId))
|
||||
if (!data.isDeleted('stream_id')) {
|
||||
const streamId = data.getString('stream_id')
|
||||
if (streamId) {
|
||||
errors = errors.concat(validateStreamId(streamId))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user