Skip to content

Commit

Permalink
Update generate.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
freearhey committed Dec 3, 2023
1 parent 3a85faa commit 10b0ba2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/commands/api/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { SITES_DIR, API_DIR } from '../../constants'
import { Channel } from 'epg-grabber'

type OutputItem = {
channel: string
channel: string | null
site: string
site_id: string
site_name: string
Expand Down Expand Up @@ -33,7 +33,7 @@ async function main() {

const output = parsedChannels.map((channel: Channel): OutputItem => {
return {
channel: channel.xmltv_id || '',
channel: channel.xmltv_id || null,
site: channel.site || '',
site_id: channel.site_id || '',
site_name: channel.name,
Expand Down

0 comments on commit 10b0ba2

Please sign in to comment.