Skip to content

Commit

Permalink
fix(sorastream-provider): infinite duplicate on people's filmography
Browse files Browse the repository at this point in the history
Close #101
  • Loading branch information
stantanasi committed Apr 16, 2024
1 parent 9e4de74 commit 14ed3d3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -731,8 +731,8 @@ object SoraStreamProvider : Provider {
override suspend fun getPeople(id: String, page: Int): People {
val people = TMDb3.People.details(
personId = id.toInt(),
appendToResponse = listOf(
TMDb3.Params.AppendToResponse.Person.COMBINED_CREDITS,
appendToResponse = listOfNotNull(
if (page > 1) null else TMDb3.Params.AppendToResponse.Person.COMBINED_CREDITS,
),
).let { person ->
People(
Expand Down

0 comments on commit 14ed3d3

Please sign in to comment.