diff --git a/src/app/shared/components/forms/iframe-code-generator/iframe-code-generator.component.ts b/src/app/shared/components/forms/iframe-code-generator/iframe-code-generator.component.ts index ab9b5b2..b9680cb 100644 --- a/src/app/shared/components/forms/iframe-code-generator/iframe-code-generator.component.ts +++ b/src/app/shared/components/forms/iframe-code-generator/iframe-code-generator.component.ts @@ -45,7 +45,7 @@ export class IframeCodeGeneratorComponent implements OnInit { params.push('regions=' + this.selectedRegions.join(',')); } if (this.selectedGenres.length > 0) { - params.push('regions=' + this.selectedRegions.join(',')); + params.push('genres=' + this.selectedRegions.join(',')); } if (this.searchTerm != '') { params.push('searchTerm=' + encodeURI(this.searchTerm)); @@ -59,7 +59,6 @@ export class IframeCodeGeneratorComponent implements OnInit { } this.url = url + '?' + params.join('&'); - this.code = `