Skip to content

Commit be47b0c

Browse files
committed
feat(extv-api): Changed show to title to be more inline
BREAKING CHANGE: show is renamed to title
1 parent fdd9d8e commit be47b0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/eztv-api/src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -531,14 +531,14 @@ module.exports = class EztvApi {
531531
const entry = $(this)
532532
const href = entry.attr('href')
533533

534-
const show = entry.text()
534+
const title = entry.text()
535535
const id = parseInt(href.match(regex)[1], 10)
536536

537537
let slug = href.match(regex)[2]
538538
slug = slug in EztvApi._slugMap ? EztvApi._slugMap[slug] : slug
539539

540540
return {
541-
show,
541+
title,
542542
id,
543543
slug,
544544
}

0 commit comments

Comments
 (0)