Skip to content

Commit

Permalink
ci: prettier formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
faizanalibugti committed Oct 29, 2023
1 parent bbac4d5 commit a2b010b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@ export class MovieHttpService {
*/
constructor(private http: HttpClient, private auth: AuthService) {}

getMovies(
genreIdOrCategoryName: string | number = 'popular',
page = 1
) {
getMovies(genreIdOrCategoryName: string | number = 'popular', page = 1) {
// Get Movies by Category
if (genreIdOrCategoryName && typeof genreIdOrCategoryName === 'string') {
if (genreIdOrCategoryName === 'trending') {
Expand Down
5 changes: 1 addition & 4 deletions libs/core-data/src/lib/services/tv-http/tv-http.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@ export class TvHttpService {
*/
constructor(private http: HttpClient, private auth: AuthService) {}

getTVShows(
genreIdOrCategoryName: string | number = 'popular',
page = 1
) {
getTVShows(genreIdOrCategoryName: string | number = 'popular', page = 1) {
// Get TV Shows by Category
if (genreIdOrCategoryName && typeof genreIdOrCategoryName === 'string') {
if (genreIdOrCategoryName === 'trending') {
Expand Down

0 comments on commit a2b010b

Please sign in to comment.