Skip to content

Commit 855b3f2

Browse files
committed
2.1 - Fix lint
1 parent a3bdf0c commit 855b3f2

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/app/components/category/category.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class CategoryComponent implements OnInit {
1717
channel: IChannelList;
1818
categories: any;
1919
currentCategory: string;
20-
categoriesBlocked = ['19', '22', '25', '27', '29']
20+
categoriesBlocked = ['19', '22', '25', '27', '29'];
2121

2222
thumbnails = false;
2323
loading = true;
@@ -69,7 +69,7 @@ export class CategoryComponent implements OnInit {
6969
});
7070
}
7171

72-
72+
7373
async getCategories() {
7474
const res = await this.youtube.categories();
7575
this.categories = res;

src/app/components/youtube-settings.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { HttpClient } from '@angular/common/http';
1010
@Component({
1111
selector: 'app-settings',
1212
templateUrl: 'youtube-settings.component.html',
13-
providers: [ SearchComponent, CategoryComponent,NumberVal ]
13+
providers: [ SearchComponent, CategoryComponent, NumberVal ]
1414
})
1515

1616
export class SettingsComponent implements OnInit {

src/app/shared/youtube.service.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class YoutubeGetVideo {
4343
if (this.apiKey) {
4444
const res = await this.http.get(`${this.url}videos?${this.videoDetails}${this.feedDetails}&regionCode=${this.regionCode}&maxResults=25&key=${this.apiKey}`)
4545
.map(response => response).toPromise();
46-
return res;
46+
return res;
4747
}
4848
}
4949

@@ -55,7 +55,7 @@ export class YoutubeGetVideo {
5555
return res;
5656
}
5757
}
58-
58+
5959
async searchVideo(query: string) {
6060
if (this.apiKey) {
6161
const res = await this.http.get(`${this.url}search?part=snippet&q=${query}&maxResults=${this.numRelatedRes}&type=video&regionCode=${this.regionCode}&key=${this.apiKey}`)
@@ -79,7 +79,7 @@ export class YoutubeGetVideo {
7979
return res;
8080
}
8181
}
82-
82+
8383
async statsVideos(query: string) {
8484
if (this.apiKey) {
8585
const res = await this.http.get(`${this.url}videos?${this.videoDetails}&id=${query}&key=${this.apiKey}`)

0 commit comments

Comments
 (0)