mirror of
https://github.com/iptv-org/epg
synced 2026-03-22 03:41:02 -04:00
fix: passes GitHub token into update script
This commit is contained in:
@@ -80,7 +80,9 @@ export async function loadJs(filepath: string) {
|
||||
|
||||
export async function loadIssues(props?: { labels: string[] | string }) {
|
||||
const CustomOctokit = Octokit.plugin(paginateRest, restEndpointMethods)
|
||||
const octokit = new CustomOctokit()
|
||||
const octokit = new CustomOctokit({
|
||||
auth: process.env.GH_TOKEN
|
||||
})
|
||||
|
||||
let labels = ''
|
||||
if (props && props.labels) {
|
||||
|
||||
Reference in New Issue
Block a user