finish lo-ditching and update deps

This commit is contained in:
theofficialomega
2025-07-19 22:38:50 +02:00
parent 5e953b6955
commit 4acf1a7c67
9 changed files with 2806 additions and 10207 deletions

View File

@@ -3,6 +3,7 @@ const dayjs = require('dayjs')
const utc = require('dayjs/plugin/utc')
const timezone = require('dayjs/plugin/timezone')
const customParseFormat = require('dayjs/plugin/customParseFormat')
const uniqBy = require('../../scripts/functions')
dayjs.extend(utc)
dayjs.extend(timezone)
@@ -42,7 +43,6 @@ module.exports = {
},
async channels() {
const axios = require('axios')
const _ = require('lodash')
const providers = ['-1', '-2', '-3', '-4', '-5']
@@ -77,7 +77,7 @@ module.exports = {
})
}
return _.uniqBy(channels, 'site_id')
return uniqBy(channels, x => x.site_id)
}
}