mirror of
https://github.com/iptv-org/database.git
synced 2024-11-21 10:32:32 -05:00
Update update.js
This commit is contained in:
parent
ce3a2aeab9
commit
9374bbee71
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ async function editChannels() {
|
|||
}
|
||||
|
||||
const index = _.findIndex(channels, { id: channel.id })
|
||||
if (!index) {
|
||||
if (index < 0) {
|
||||
updateIssue(issue, { labels: ['channels:edit', 'rejected:wrong_id'] })
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue