Skip to content

Commit b1d3881

Browse files
Update offer icon format variable name
1 parent d1bc2bb commit b1d3881

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/simplejustwatchapi/query.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
$language: Language!,
1717
$first: Int!,
1818
$formatPoster: ImageFormat,
19-
$formatIcon: ImageFormat,
19+
$formatOfferIcon: ImageFormat,
2020
$profile: PosterProfile,
2121
$backdropProfile: BackdropProfile,
2222
$filter: OfferFilter!,
@@ -73,7 +73,7 @@
7373
packageId
7474
clearName
7575
technicalName
76-
icon(profile: S100, format: $formatIcon)
76+
icon(profile: S100, format: $formatOfferIcon)
7777
__typename
7878
}
7979
id
@@ -147,7 +147,7 @@ def prepare_search_request(
147147
"language": language,
148148
"country": country.upper(),
149149
"formatPoster": "JPG",
150-
"formatIcon": "PNG",
150+
"formatOfferIcon": "PNG",
151151
"profile": "S718",
152152
"backdropProfile": "S1920",
153153
"filter": {"bestOnly": best_only},

0 commit comments

Comments
 (0)