Skip to content

Commit b956f94

Browse files
committed
🐛 Fix typo in main.py
1 parent 43e2851 commit b956f94

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "jokeapi"
3-
version = "1.0.2"
3+
version = "1.0.3"
44
description = "Python API Wrapper for Sv443's JokeAPI (https://v2.jokeapi.dev)"
55
readme = "README.md"
66
homepage = "https://pypi.org/project/jokeapi"

src/jokeapi/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ async def build_request(
157157
if search_string:
158158
r += f"&contains={search_string}"
159159
if id_range:
160-
r += f"i&dRange={id_range[0]}-{id_range[1]}"
160+
r += f"&idRange={id_range[0]}-{id_range[1]}"
161161
if amount > 10:
162162
raise ValueError(
163163
f"amount parameter must be no greater than 10. you passed {amount}."

0 commit comments

Comments
 (0)