1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-29 16:07:40 +01:00

set adult false in query

This commit is contained in:
castdrian 2023-06-15 08:30:57 +02:00 committed by Adrian Castro
parent c9bac3ed68
commit c08a6c7e54

View file

@ -120,12 +120,12 @@ export abstract class Tmdb {
switch (type) {
case "movie":
data = await Tmdb.get<TMDBMovieResponse>(
`search/movie?query=${query}&include_adult=true&language=en-US&page=1`
`search/movie?query=${query}&include_adult=false&language=en-US&page=1`
);
break;
case "show":
data = await Tmdb.get<TMDBShowResponse>(
`search/tv?query=${query}&include_adult=true&language=en-US&page=1`
`search/tv?query=${query}&include_adult=false&language=en-US&page=1`
);
break;
default: