Skip to content

Commit

Permalink
refactor(server): cleaned up logs and mapper fields
Browse files Browse the repository at this point in the history
  • Loading branch information
ADRFranklin committed Jun 15, 2024
1 parent dd8f26d commit 81b3e52
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions server/src/resources/movie/mapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,6 @@ export class MovieMapper
name: copy.collections.name,
}
: undefined,
studio: {
id: copy.studios[0]?.providers?.tmdb?.id?.toString() || '0',
name: copy.studios[0].name,
logo_path: copy.studios[0].logoPath,
},
collection: copy.collections?.movies.map((movie) => ({
id: `${movie.providers?.plex?.id || movie.providers?.tmdb?.id || 0}`,
name: movie.name,
Expand Down
1 change: 0 additions & 1 deletion server/src/services/movie/movie-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ export class MovieService {
try {
const optionsAsString =
options && Object.keys(options).length ? toQueryString(options) : '';
console.log(optionsAsString);
const results = await this.cacheProvider.wrap(
`movie.discover${optionsAsString}`,
async () => {
Expand Down
1 change: 0 additions & 1 deletion server/src/services/movie/provider/tmdb/tmdb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,6 @@ export class TmdbMovieProvider
try {
const optionsAsString =
options && Object.keys(options).length ? toQueryString(options) : '';
console.log(optionsAsString);
const results = await this.cache.wrap(
`tmdb.movie.discover${optionsAsString}`,
async () => {
Expand Down

0 comments on commit 81b3e52

Please sign in to comment.