Skip to content

Commit

Permalink
review notes
Browse files Browse the repository at this point in the history
  • Loading branch information
nylonee committed Oct 16, 2024
1 parent 6fbeca2 commit dbb5e38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/plex/PlexUtils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ trait PlexUtils {
extras.Configuration.default.withDefaults

protected def fetchWatchlistFromRss(client: HttpClient)(url: Uri): IO[Set[Item]] = {
val randomUUID = UUID.randomUUID().toString.take(5)
val randomUUID = UUID.randomUUID().toString.take(12)
val jsonFormatUrl = url
.withQueryParam("format", "json")
.withQueryParam(randomUUID, randomUUID)
.withQueryParam("cache_buster", randomUUID)

client.httpRequest(Method.GET, jsonFormatUrl).map {
case Left(UnexpectedStatus(s, _, _)) if s.code == 500 =>
Expand Down

0 comments on commit dbb5e38

Please sign in to comment.