Skip to content

Commit f58848a

Browse files
committed
fix(eztv-provider): Fixed missing await and wrong function called
1 parent 9deae8f commit f58848a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/scraper/eztv-provider/src/eztv-provider.service.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class EztvProviderService extends BaseProvider {
3131
protected async scrapeConfig(config: ScraperProviderConfig): Promise<void> {
3232
this.setConfig(config)
3333

34-
const contents: ScrapedItem[] = await this.api.getAll()
34+
const contents: ScrapedItem[] = await this.api.getAllShows()
3535

3636
this.logger.log(`${this.name}: Found ${contents.length} ${this.contentType}s.`)
3737

@@ -44,7 +44,7 @@ export class EztvProviderService extends BaseProvider {
4444
if (!isInBlacklist) {
4545
try {
4646
// Get full show data
47-
const show: ScrapedItem = this.api.getShowData(content)
47+
const show: ScrapedItem = await this.api.getShowData(content)
4848

4949
// Enhance and import the show
5050
await this.enhanceAndImport(show)

0 commit comments

Comments
 (0)