mirror of
https://github.com/iptv-org/iptv
synced 2026-10-21 18:46:20 -04:00
Update validate.ts
This commit is contained in:
1 parent
82a6cf2451
commit
4d6660623d
1 file changed
+5
-3
@@ -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